summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKim, Milo <Milo.Kim@ti.com>2013-04-30 01:18:02 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2013-04-30 03:28:18 +0200
commit600ffd33d09e3803d81607d3404a8cad709160e4 (patch)
tree123ac4b96e5447b669fc3783e2cca5351919f23c /include
parentbacklight: vgg2432a4: convert vgg2432a4_driver to dev_pm_ops (diff)
downloadlinux-600ffd33d09e3803d81607d3404a8cad709160e4.tar.xz
linux-600ffd33d09e3803d81607d3404a8cad709160e4.zip
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 'include')
-rw-r--r--include/linux/platform_data/lp855x.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/platform_data/lp855x.h b/include/linux/platform_data/lp855x.h
index 20ee8b221dbd..d135939d392a 100644
--- a/include/linux/platform_data/lp855x.h
+++ b/include/linux/platform_data/lp855x.h
@@ -128,7 +128,7 @@ struct lp855x_rom_data {
* @rom_data : list of new eeprom/eprom registers
*/
struct lp855x_platform_data {
- char *name;
+ const char *name;
enum lp855x_brightness_ctrl_mode mode;
u8 device_control;
int initial_brightness;