diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-01-21 21:59:29 -0800 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-02-01 17:47:06 -0800 |
commit | 8a4529a38d38f53657769b942f6fc5d34f2c64b5 (patch) | |
tree | e11ea8738cc285ed5dcae5ee34553c6bc0a7a73e /drivers/leds/leds-wm831x-status.c | |
parent | d7789430de0865a55496213d6af2a870069c4dac (diff) | |
download | blackbird-obmc-linux-8a4529a38d38f53657769b942f6fc5d34f2c64b5.tar.gz blackbird-obmc-linux-8a4529a38d38f53657769b942f6fc5d34f2c64b5.zip |
leds: wm831x: add missing const
Fixed the checkpatch warning as below:
WARNING: static const char * array should probably be static const char * const
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'drivers/leds/leds-wm831x-status.c')
-rw-r--r-- | drivers/leds/leds-wm831x-status.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-wm831x-status.c b/drivers/leds/leds-wm831x-status.c index 74a24cf897c3..6bd5c679d877 100644 --- a/drivers/leds/leds-wm831x-status.c +++ b/drivers/leds/leds-wm831x-status.c @@ -157,7 +157,7 @@ static int wm831x_status_blink_set(struct led_classdev *led_cdev, return ret; } -static const char *led_src_texts[] = { +static const char * const led_src_texts[] = { "otp", "power", "charger", |