drivers/video/backlight/da9052_bl.c: add missing const
authorJingoo Han <jg1.han@samsung.com>
Tue, 18 Dec 2012 00:00:48 +0000 (16:00 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Dec 2012 01:15:16 +0000 (17:15 -0800)
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>
drivers/video/backlight/da9052_bl.c

index ac19618..842da5a 100644 (file)
@@ -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,