2021-03-25 06:56:24

by Jiabing Wan

[permalink] [raw]
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 <[email protected]>
---
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