archive mirror
 help / color / mirror / Atom feed
From: Wan Jiabing <>
To: Dan Williams <>,
	Vishal Verma <>,
	Dave Jiang <>,
	Ira Weiny <>,
	"James E.J. Bottomley" <>,
	"Martin K. Petersen" <>,,,
Cc:, Wan Jiabing <>
Subject: [PATCH] include: linux: struct device is declared twice
Date: Thu, 25 Mar 2021 14:51:53 +0800	[thread overview]
Message-ID: <> (raw)

struct device has been declared at 133rd line. 
Remove the duplicate.

Signed-off-by: Wan Jiabing <>
 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);
Linux-nvdimm mailing list --
To unsubscribe send an email to

                 reply	other threads:[~2021-03-25  6:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).