projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfe514b
)
mfd: axp20x: Fix duplicate const for model names
author
Krzysztof Kozlowski
<k.kozlowski@samsung.com>
Tue, 24 Mar 2015 10:21:17 +0000
(11:21 +0100)
committer
Lee Jones
<lee.jones@linaro.org>
Mon, 30 Mar 2015 09:07:03 +0000
(10:07 +0100)
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>
drivers/mfd/axp20x.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/axp20x.c
b/drivers/mfd/axp20x.c
index 0acbe52b2411aa7165c77acb181b9dbea7863434..1386826f713dd783fc605bb596ab983af86043cb 100644
(file)
--- 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",