projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4f8ae7
)
backlight: lm3630: fix checkpatch warning
author
Jingoo Han
<
[email protected]
>
Tue, 18 Dec 2012 00:00:26 +0000
(16:00 -0800)
committer
Linus Torvalds
<
[email protected]
>
Tue, 18 Dec 2012 01:15:15 +0000
(17:15 -0800)
This patch fixes the checkpatch warning as below:
WARNING: static const char * array should probably be static const char * const
Signed-off-by: Jingoo Han <
[email protected]
>
Cc: Richard Purdie <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/video/backlight/lm3630_bl.c
patch
|
blob
|
history
diff --git
a/drivers/video/backlight/lm3630_bl.c
b/drivers/video/backlight/lm3630_bl.c
index 0207bc0a440763212ee078a591a1f3831533b137..a6d637b5c68f2dc7d2c69e4868726e6d52768a2f 100644
(file)
--- a/
drivers/video/backlight/lm3630_bl.c
+++ b/
drivers/video/backlight/lm3630_bl.c
@@
-37,7
+37,7
@@
enum lm3630_leds {
BLED_2
};
-static const char *bled_name[] = {
+static const char *
const
bled_name[] = {
[BLED_ALL] = "lm3630_bled", /*Bank1 controls all string */
[BLED_1] = "lm3630_bled1", /*Bank1 controls bled1 */
[BLED_2] = "lm3630_bled2", /*Bank1 or 2 controls bled2 */