summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2012-12-18 00:00:26 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-18 01:15:15 (GMT)
commitd7b6bdaaa60889aeb5fb1fc70c92114e881e1fc7 (patch)
tree03b0d2f6c14eae7a28b9938edd395eac9f0e0d5e
parente4f8ae708043865294bfbc12e5249187566b1260 (diff)
downloadlinux-d7b6bdaaa60889aeb5fb1fc70c92114e881e1fc7.tar.xz
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 <jg1.han@samsung.com> Cc: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/video/backlight/lm3630_bl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/lm3630_bl.c b/drivers/video/backlight/lm3630_bl.c
index 0207bc0..a6d637b 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 */