From: Krzysztof Kozlowski Date: Tue, 24 Mar 2015 10:21:17 +0000 (+0100) Subject: mfd: axp20x: Fix duplicate const for model names X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c31e858b1ae5a7d0b0beb37f66b1f0e1effa0c6e;p=linux-beck.git mfd: axp20x: Fix duplicate const for model names Replace duplicated const keyword for 'axp20x_model_names' with proper array of const pointers to const strings. Signed-off-by: Krzysztof Kozlowski Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c index 0acbe52b2411..1386826f713d 100644 --- a/drivers/mfd/axp20x.c +++ b/drivers/mfd/axp20x.c @@ -29,7 +29,7 @@ #define AXP20X_OFF 0x80 -static const char const *axp20x_model_names[] = { +static const char * const axp20x_model_names[] = { "AXP202", "AXP209", "AXP288",