Skip to content

Commit

Permalink
drivers/video/backlight/da9052_bl.c: add missing const
Browse files Browse the repository at this point in the history
Add 'const' to static array that was missing it in its definition.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Cc: Ashish Jangam <ashish.jangam@kpitcummins.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 eaa4d02 commit b5d6904
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/backlight/da9052_bl.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ enum {
DA9052_TYPE_WLED3,
};

static unsigned char wled_bank[] = {
static const unsigned char wled_bank[] = {
DA9052_LED1_CONF_REG,
DA9052_LED2_CONF_REG,
DA9052_LED3_CONF_REG,
Expand Down

0 comments on commit b5d6904

Please sign in to comment.