summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-03-24 11:21:17 +0100
committerLee Jones <lee.jones@linaro.org>2015-03-30 10:07:03 +0100
commitc31e858b1ae5a7d0b0beb37f66b1f0e1effa0c6e (patch)
tree428d3f3ade9c31f4149f9d5f587b00c5fa247fb6 /drivers/mfd
parentdfe514b67a05edc14a7aa0579d1ab2378fa9e4c5 (diff)
downloadlinux-c31e858b1ae5a7d0b0beb37f66b1f0e1effa0c6e.tar.bz2
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 <k.kozlowski@samsung.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/axp20x.c2
1 files changed, 1 insertions, 1 deletions
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",