Skip to content

Commit

Permalink
mfd: Fix a sparse warning about mc13xxx_chipname not being declared
Browse files Browse the repository at this point in the history
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
  • Loading branch information
Uwe Kleine-König authored and Samuel Ortiz committed Oct 24, 2011
1 parent 8959e74 commit bb3149a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mfd/mc13xxx-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
};
Expand Down

0 comments on commit bb3149a

Please sign in to comment.