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

drivers/video/backlight/da9052_bl.c: add missing const

Add 'const' to static array that was missing it in its definition.
Signed-off-by: NJingoo Han <jg1.han@samsung.com>
Cc: Ashish Jangam <ashish.jangam@kpitcummins.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>
上级 eaa4d02f
...@@ -34,7 +34,7 @@ enum { ...@@ -34,7 +34,7 @@ enum {
DA9052_TYPE_WLED3, DA9052_TYPE_WLED3,
}; };
static unsigned char wled_bank[] = { static const unsigned char wled_bank[] = {
DA9052_LED1_CONF_REG, DA9052_LED1_CONF_REG,
DA9052_LED2_CONF_REG, DA9052_LED2_CONF_REG,
DA9052_LED3_CONF_REG, DA9052_LED3_CONF_REG,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册