forked from Minki/linux
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:
parent
8959e74399
commit
bb3149a93b
@ -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",
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user