Skip to contentSkip to conversation

backlight: da9052: add missing const

PATCH In review Jingoo Han 1 participant 1 message Oct 23, 2012

Subsystems (3)
lore
Share & tools
lore

Jingoo Han

author
#0 lore raw

PATCH 1/4 backlight: da9052: add missing const

Add 'const' to static array that was missing it in its definition.

Cc Ashish Jangam <[email protected]>
Cc Richard Purdie <[email protected]>
---
 drivers/video/backlight/da9052_bl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/video/backlight/da9052_bl.c +1 -1
index ac19618..842da5a 100644
@@ -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,
Signature · 1 line
1.7.1