projects
/
sdk
/
emulator
/
emulator-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eaa4d02
)
drivers/video/backlight/da9052_bl.c: add missing const
author
Jingoo Han
<jg1.han@samsung.com>
Tue, 18 Dec 2012 00:00:48 +0000
(16:00 -0800)
committer
Linus 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
patch
|
blob
|
history
diff --git
a/drivers/video/backlight/da9052_bl.c
b/drivers/video/backlight/da9052_bl.c
index ac196181fe45a88ae45965ac7d18cb91570b1eb3..842da5a3ac4f2fde626b7c23ef7975ab01870eec 100644
(file)
--- 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,