From 8a4529a38d38f53657769b942f6fc5d34f2c64b5 Mon Sep 17 00:00:00 2001 From: Jingoo Han Date: Mon, 21 Jan 2013 21:59:29 -0800 Subject: [PATCH] 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 Signed-off-by: Bryan Wu --- drivers/leds/leds-wm831x-status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",