diff options
author | Kim, Milo <Milo.Kim@ti.com> | 2013-04-30 01:18:04 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-04-30 03:28:18 +0200 |
commit | 98e35be2badd7a499a001a0681d1904f8c56f3e6 (patch) | |
tree | 821287aa7f6a536a047eca3e6e1649e521e08d2b /include | |
parent | backlight: lp855x: move backlight mode platform data (diff) | |
download | linux-98e35be2badd7a499a001a0681d1904f8c56f3e6.tar.xz linux-98e35be2badd7a499a001a0681d1904f8c56f3e6.zip |
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 <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.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |