summaryrefslogtreecommitdiff
path: root/drivers/video/backlight/lp855x_bl.c
diff options
context:
space:
mode:
authorKim, Milo <Milo.Kim@ti.com>2013-04-30 03:18:02 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-04-30 05:28:18 +0400
commit600ffd33d09e3803d81607d3404a8cad709160e4 (patch)
tree123ac4b96e5447b669fc3783e2cca5351919f23c /drivers/video/backlight/lp855x_bl.c
parenteb39ad2558c75b43ea21a2578088ab8d63a79d92 (diff)
downloadlinux-600ffd33d09e3803d81607d3404a8cad709160e4.tar.xz
backlight: lp855x: convert a type of device name
Configurable data, backlight device name is set to constant character type. Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/backlight/lp855x_bl.c')
-rw-r--r--drivers/video/backlight/lp855x_bl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/lp855x_bl.c b/drivers/video/backlight/lp855x_bl.c
index c98bdbfdc697..df937ce5c2ec 100644
--- a/drivers/video/backlight/lp855x_bl.c
+++ b/drivers/video/backlight/lp855x_bl.c
@@ -273,7 +273,7 @@ static int lp855x_backlight_register(struct lp855x *lp)
struct backlight_device *bl;
struct backlight_properties props;
struct lp855x_platform_data *pdata = lp->pdata;
- char *name = pdata->name ? : DEFAULT_BL_NAME;
+ const char *name = pdata->name ? : DEFAULT_BL_NAME;
props.type = BACKLIGHT_PLATFORM;
props.max_brightness = MAX_BRIGHTNESS;