diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2011-09-23 23:51:42 +0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-10-24 16:09:17 +0400 |
commit | bb3149a93be1703ddc77ba34633df731bda5f269 (patch) | |
tree | 765e1b0810a043ea080af1d40dbe33bfee83b62f /drivers/mfd | |
parent | 8959e74399c798b45c0f5d477972b927c28f8dc9 (diff) | |
download | linux-bb3149a93be1703ddc77ba34633df731bda5f269.tar.xz |
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')
-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 { MC13XXX_ID_INVALID, }; -const char *mc13xxx_chipname[] = { +static const char *mc13xxx_chipname[] = { [MC13XXX_ID_MC13783] = "mc13783", [MC13XXX_ID_MC13892] = "mc13892", }; |