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>
This commit is contained in:
Uwe Kleine-König 2011-09-23 21:51:42 +02:00 committed by Samuel Ortiz
parent 8959e74399
commit bb3149a93b
1 changed files with 1 additions and 1 deletions

View File

@ -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",
};