Skip to content

Commit

Permalink
mfd: axp20x: Fix duplicate const for model names
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Krzysztof Kozlowski authored and Lee Jones committed Mar 30, 2015
1 parent dfe514b commit c31e858
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mfd/axp20x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit c31e858

Please sign in to comment.