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:
Родитель
8959e74399
Коммит
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",
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче