From: Xie XiuQi <xiexiuqi@huawei.com>
To: Doug Thompson <dougthompson@xmission.com>,
Mauro Carvalho Chehab <m.chehab@samsung.com>
Cc: Linux Edac Mailing List <linux-edac@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: [PATCH 2/5] i5100_edac: remove .c suffix from the mod name
Date: Sat, 14 Sep 2013 12:15:35 +0800 [thread overview]
Message-ID: <5233E2E7.5050901@huawei.com> (raw)
In-Reply-To: <5233E216.3030506@huawei.com>
I found i5100_edac driver used 'xxx_edac.c' as mod name,
but others used 'xxx_edac'. So remove .c suffix.
Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
---
drivers/edac/i5100_edac.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/edac/i5100_edac.c b/drivers/edac/i5100_edac.c
index 157b934..b50f52a 100644
--- a/drivers/edac/i5100_edac.c
+++ b/drivers/edac/i5100_edac.c
@@ -31,6 +31,8 @@
#include "edac_core.h"
+#define EDAC_MOD_STR "i5100_edac"
+
/* register addresses */
/* device 16, func 1 */
@@ -1117,7 +1119,7 @@ static int i5100_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
mci->mtype_cap = MEM_FLAG_FB_DDR2;
mci->edac_ctl_cap = EDAC_FLAG_SECDED;
mci->edac_cap = EDAC_FLAG_SECDED;
- mci->mod_name = "i5100_edac.c";
+ mci->mod_name = EDAC_MOD_STR;
mci->mod_ver = "not versioned";
mci->ctl_name = "i5100";
mci->dev_name = pci_name(pdev);
--
1.8.2.2
next prev parent reply other threads:[~2013-09-14 4:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-14 4:12 [PATCH 0/5] edac: remove .c suffix from the mod name Xie XiuQi
2013-09-14 4:14 ` [PATCH 1/5] i5000_edac: " Xie XiuQi
2013-09-14 4:15 ` Xie XiuQi [this message]
2013-09-14 4:16 ` [PATCH 3/5] i5400_edac: " Xie XiuQi
2013-09-14 4:17 ` [PATCH 4/5] i7300_edac: " Xie XiuQi
2013-09-14 4:18 ` [PATCH 5/5] i7core_edac: " Xie XiuQi
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5233E2E7.5050901@huawei.com \
--to=xiexiuqi@huawei.com \
--cc=dougthompson@xmission.com \
--cc=linux-edac@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=m.chehab@samsung.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.