summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKim, Milo <Milo.Kim@ti.com>2013-04-29 16:18:04 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-04-29 18:28:18 -0700
commit98e35be2badd7a499a001a0681d1904f8c56f3e6 (patch)
tree821287aa7f6a536a047eca3e6e1649e521e08d2b /include
parent0b8185733966c1863b6b90ca2697327118ce5032 (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')
-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 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;