mfd: Fix a sparse warning about mc13xxx_chipname not being declared
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 23 Sep 2011 19:51:42 +0000 (21:51 +0200)
committerSamuel 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

index edcd397cae11098ec5122251ca5bc0e704eec7f3..e9619acc02375342276d84e5d9aee83e7a2597a8 100644 (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",
 };