nvdimm: remove duplicate nd_mapping declaration
authorDave Jiang <dave.jiang@intel.com>
Wed, 21 Sep 2016 22:28:29 +0000 (15:28 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 21 Sep 2016 22:28:29 +0000 (15:28 -0700)
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/nd-core.h

index 38ce6bbbc170bcdc40982d5f49473bab181e2071..1414784c6c2b77f2bc96c8f67994d977ea20e76b 100644 (file)
@@ -79,7 +79,6 @@ resource_size_t nd_blk_available_dpa(struct nd_mapping *nd_mapping);
 resource_size_t nd_region_available_dpa(struct nd_region *nd_region);
 resource_size_t nvdimm_allocated_dpa(struct nvdimm_drvdata *ndd,
                struct nd_label_id *label_id);
-struct nd_mapping;
 struct resource *nsblk_add_resource(struct nd_region *nd_region,
                struct nvdimm_drvdata *ndd, struct nd_namespace_blk *nsblk,
                resource_size_t start);