提交 d7b6bdaa 编写于 作者: J Jingoo Han 提交者: Linus Torvalds

backlight: lm3630: fix checkpatch warning

This patch fixes the checkpatch warning as below:

  WARNING: static const char * array should probably be static const char * const
Signed-off-by: NJingoo Han <jg1.han@samsung.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 e4f8ae70
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册