diff options
| author | Kim, Milo <Milo.Kim@ti.com> | 2013-04-29 19:18:04 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-04-29 21:28:18 -0400 |
| commit | 98e35be2badd7a499a001a0681d1904f8c56f3e6 (patch) | |
| tree | 821287aa7f6a536a047eca3e6e1649e521e08d2b /include/linux/platform_data | |
| parent | 0b8185733966c1863b6b90ca2697327118ce5032 (diff) | |
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/linux/platform_data')
| -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 { | |||
| 124 | struct lp855x_platform_data { | 124 | struct lp855x_platform_data { |
| 125 | const char *name; | 125 | const char *name; |
| 126 | u8 device_control; | 126 | u8 device_control; |
| 127 | int initial_brightness; | 127 | u8 initial_brightness; |
| 128 | unsigned int period_ns; | 128 | unsigned int period_ns; |
| 129 | u8 load_new_rom_data; | 129 | u8 load_new_rom_data; |
| 130 | int size_program; | 130 | int size_program; |
