Skip to content

Commit

Permalink
backlight: lm3630: fix checkpatch warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jingoo Han authored and Linus Torvalds committed Dec 18, 2012
1 parent e4f8ae7 commit d7b6bda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/backlight/lm3630_bl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit d7b6bda

Please sign in to comment.