From: Jingoo Han Date: Thu, 25 Oct 2012 01:15:03 +0000 (+1100) Subject: drivers/video/backlight/da9052_bl.c: add missing const X-Git-Tag: next-20121029~1^2~66 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=89ba7f051a85bb9312b271b5fcc18a9bb9520b3f;p=karo-tx-linux.git drivers/video/backlight/da9052_bl.c: add missing const Add 'const' to static array that was missing it in its definition. Signed-off-by: Jingoo Han Cc: Ashish Jangam Cc: Richard Purdie Signed-off-by: Andrew Morton --- diff --git a/drivers/video/backlight/da9052_bl.c b/drivers/video/backlight/da9052_bl.c index ac196181fe45..842da5a3ac4f 100644 --- a/drivers/video/backlight/da9052_bl.c +++ b/drivers/video/backlight/da9052_bl.c @@ -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,