diff options
-rw-r--r-- | drivers/extcon/extcon-axp288.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/extcon/extcon-axp288.c b/drivers/extcon/extcon-axp288.c index 0a44d43802fe..c8f7b6435679 100644 --- a/drivers/extcon/extcon-axp288.c +++ b/drivers/extcon/extcon-axp288.c | |||
@@ -106,7 +106,7 @@ struct axp288_extcon_info { | |||
106 | }; | 106 | }; |
107 | 107 | ||
108 | /* Power up/down reason string array */ | 108 | /* Power up/down reason string array */ |
109 | static char *axp288_pwr_up_down_info[] = { | 109 | static const char * const axp288_pwr_up_down_info[] = { |
110 | "Last wake caused by user pressing the power button", | 110 | "Last wake caused by user pressing the power button", |
111 | "Last wake caused by a charger insertion", | 111 | "Last wake caused by a charger insertion", |
112 | "Last wake caused by a battery insertion", | 112 | "Last wake caused by a battery insertion", |
@@ -124,7 +124,7 @@ static char *axp288_pwr_up_down_info[] = { | |||
124 | */ | 124 | */ |
125 | static void axp288_extcon_log_rsi(struct axp288_extcon_info *info) | 125 | static void axp288_extcon_log_rsi(struct axp288_extcon_info *info) |
126 | { | 126 | { |
127 | char **rsi; | 127 | const char * const *rsi; |
128 | unsigned int val, i, clear_mask = 0; | 128 | unsigned int val, i, clear_mask = 0; |
129 | int ret; | 129 | int ret; |
130 | 130 | ||