[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20210325065153.855812-1-wanjiabing@vivo.com>
Date: Thu, 25 Mar 2021 14:51:53 +0800
From: Wan Jiabing <wanjiabing@...o.com>
To: Dan Williams <dan.j.williams@...el.com>,
Vishal Verma <vishal.l.verma@...el.com>,
Dave Jiang <dave.jiang@...el.com>,
Ira Weiny <ira.weiny@...el.com>,
"James E.J. Bottomley" <jejb@...ux.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
linux-nvdimm@...ts.01.org, linux-kernel@...r.kernel.org,
linux-scsi@...r.kernel.org
Cc: kael_w@...h.net, Wan Jiabing <wanjiabing@...o.com>
Subject: [PATCH] include: linux: struct device is declared twice
struct device has been declared at 133rd line.
Remove the duplicate.
Signed-off-by: Wan Jiabing <wanjiabing@...o.com>
---
include/linux/libnvdimm.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/linux/libnvdimm.h b/include/linux/libnvdimm.h
index 01f251b6e36c..89b69e645ac7 100644
--- a/include/linux/libnvdimm.h
+++ b/include/linux/libnvdimm.h
@@ -141,7 +141,6 @@ static inline void __iomem *devm_nvdimm_ioremap(struct device *dev,
struct nvdimm_bus;
struct module;
-struct device;
struct nd_blk_region;
struct nd_blk_region_desc {
int (*enable)(struct nvdimm_bus *nvdimm_bus, struct device *dev);
--
2.25.1
Powered by blists - more mailing lists