projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8959e74
)
mfd: Fix a sparse warning about mc13xxx_chipname not being declared
author
Uwe Kleine-König
<u.kleine-koenig@pengutronix.de>
Fri, 23 Sep 2011 19:51:42 +0000
(21:51 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 24 Oct 2011 12:09:17 +0000
(14:09 +0200)
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/mc13xxx-core.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/mc13xxx-core.c
b/drivers/mfd/mc13xxx-core.c
index edcd397cae11098ec5122251ca5bc0e704eec7f3..e9619acc02375342276d84e5d9aee83e7a2597a8 100644
(file)
--- a/
drivers/mfd/mc13xxx-core.c
+++ b/
drivers/mfd/mc13xxx-core.c
@@
-477,7
+477,7
@@
enum mc13xxx_id {
MC13XXX_ID_INVALID,
};
-const char *mc13xxx_chipname[] = {
+
static
const char *mc13xxx_chipname[] = {
[MC13XXX_ID_MC13783] = "mc13783",
[MC13XXX_ID_MC13892] = "mc13892",
};