From: Jingoo Han Date: Thu, 29 Nov 2012 03:18:22 +0000 (+1100) Subject: backlight: lm3630: fix checkpatch warning X-Git-Tag: next-20121205~1^2~192 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4a79f80721ac394eaaf6274ea9b7b955e437b1b0;p=karo-tx-linux.git backlight: lm3630: fix checkpatch warning This patch fixes the checkpatch warning as below: WARNING: static const char * array should probably be static const char * const Signed-off-by: Jingoo Han Cc: Richard Purdie Signed-off-by: Andrew Morton --- diff --git a/drivers/video/backlight/lm3630_bl.c b/drivers/video/backlight/lm3630_bl.c index 0207bc0a4407..a6d637b5c68f 100644 --- a/drivers/video/backlight/lm3630_bl.c +++ b/drivers/video/backlight/lm3630_bl.c @@ -37,7 +37,7 @@ enum lm3630_leds { BLED_2 }; -static const char *bled_name[] = { +static const char * const bled_name[] = { [BLED_ALL] = "lm3630_bled", /*Bank1 controls all string */ [BLED_1] = "lm3630_bled1", /*Bank1 controls bled1 */ [BLED_2] = "lm3630_bled2", /*Bank1 or 2 controls bled2 */