summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2012-12-17 16:00:48 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-17 17:15:16 -0800
commitb5d6904babd4a57b1035e048f74fc5b12fc06d8f (patch)
tree7830c4dded59f449e7c5969130a0b1ec11b6f6e8
parenteaa4d02fbaf49e57f8a18f68e736e34c514030a2 (diff)
downloadblackbird-op-linux-b5d6904babd4a57b1035e048f74fc5b12fc06d8f.tar.gz
blackbird-op-linux-b5d6904babd4a57b1035e048f74fc5b12fc06d8f.zip
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 <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>
-rw-r--r--drivers/video/backlight/da9052_bl.c2
1 files changed, 1 insertions, 1 deletions
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,
OpenPOWER on IntegriCloud