diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2011-09-23 15:51:42 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-10-24 08:09:17 -0400 |
commit | bb3149a93be1703ddc77ba34633df731bda5f269 (patch) | |
tree | 765e1b0810a043ea080af1d40dbe33bfee83b62f /drivers/mfd/mc13xxx-core.c | |
parent | 8959e74399c798b45c0f5d477972b927c28f8dc9 (diff) |
mfd: Fix a sparse warning about mc13xxx_chipname not being declared
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/mc13xxx-core.c')
-rw-r--r-- | drivers/mfd/mc13xxx-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/mc13xxx-core.c b/drivers/mfd/mc13xxx-core.c index edcd397cae11..e9619acc0237 100644 --- a/drivers/mfd/mc13xxx-core.c +++ b/drivers/mfd/mc13xxx-core.c | |||
@@ -477,7 +477,7 @@ enum mc13xxx_id { | |||
477 | MC13XXX_ID_INVALID, | 477 | MC13XXX_ID_INVALID, |
478 | }; | 478 | }; |
479 | 479 | ||
480 | const char *mc13xxx_chipname[] = { | 480 | static const char *mc13xxx_chipname[] = { |
481 | [MC13XXX_ID_MC13783] = "mc13783", | 481 | [MC13XXX_ID_MC13783] = "mc13783", |
482 | [MC13XXX_ID_MC13892] = "mc13892", | 482 | [MC13XXX_ID_MC13892] = "mc13892", |
483 | }; | 483 | }; |