From: Kim, Milo Date: Mon, 29 Apr 2013 23:18:04 +0000 (-0700) Subject: backlight: lp855x: fix initial brightness type X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=98e35be2badd7a499a001a0681d1904f8c56f3e6;p=openwrt%2Fstaging%2Fblogic.git backlight: lp855x: fix initial brightness type Valid range of the brightness is from 0 to 255, so initial brightness is changed from integer to u8. Signed-off-by: Milo(Woogyom) Kim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/platform_data/lp855x.h b/include/linux/platform_data/lp855x.h index e0954dfea7ee..a4ed0bd65fda 100644 --- a/include/linux/platform_data/lp855x.h +++ b/include/linux/platform_data/lp855x.h @@ -124,7 +124,7 @@ struct lp855x_rom_data { struct lp855x_platform_data { const char *name; u8 device_control; - int initial_brightness; + u8 initial_brightness; unsigned int period_ns; u8 load_new_rom_data; int size_program;