projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b81857
)
backlight: lp855x: fix initial brightness type
author
Kim, Milo
<Milo.Kim@ti.com>
Mon, 29 Apr 2013 23:18:04 +0000
(16:18 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 30 Apr 2013 01:28:18 +0000
(18:28 -0700)
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>
include/linux/platform_data/lp855x.h
patch
|
blob
|
history
diff --git
a/include/linux/platform_data/lp855x.h
b/include/linux/platform_data/lp855x.h
index
e0954df
..
a4ed0bd
100644
(file)
--- 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;