From: Dave Jiang Date: Wed, 21 Sep 2016 22:28:29 +0000 (-0700) Subject: nvdimm: remove duplicate nd_mapping declaration X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a0056afe21fdf79d1fad2b8fb14868cd710d400f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git nvdimm: remove duplicate nd_mapping declaration Signed-off-by: Dave Jiang Signed-off-by: Dan Williams --- diff --git a/drivers/nvdimm/nd-core.h b/drivers/nvdimm/nd-core.h index 38ce6bbbc170..1414784c6c2b 100644 --- a/drivers/nvdimm/nd-core.h +++ b/drivers/nvdimm/nd-core.h @@ -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);