summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/axp20x.c
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/axp20x.c
parentdfe514b67a05edc14a7aa0579d1ab2378fa9e4c5 (diff)
downloadop-kernel-dev-c31e858b1ae5a7d0b0beb37f66b1f0e1effa0c6e.zip
op-kernel-dev-c31e858b1ae5a7d0b0beb37f66b1f0e1effa0c6e.tar.gz
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/axp20x.c')
-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 0acbe52..1386826 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",
OpenPOWER on IntegriCloud