]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers/video/backlight/da9052_bl.c: add missing const
authorJingoo Han <jg1.han@samsung.com>
Thu, 25 Oct 2012 01:15:03 +0000 (12:15 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 25 Oct 2012 03:14:45 +0000 (14:14 +1100)
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>
drivers/video/backlight/da9052_bl.c

index ac196181fe45a88ae45965ac7d18cb91570b1eb3..842da5a3ac4f2fde626b7c23ef7975ab01870eec 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,