projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a59ec1e
)
drivers/video/backlight/adp8870_bl.c: add missed props.type conversion
author
Andrew Morton
<
[email protected]
>
Wed, 15 Jun 2011 22:08:12 +0000
(15:08 -0700)
committer
Linus Torvalds
<
[email protected]
>
Thu, 16 Jun 2011 03:03:59 +0000
(20:03 -0700)
Cc: Michael Hennerich <
[email protected]
>
Cc: Mike Frysinger <
[email protected]
>
Cc: Matthew Garrett <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/video/backlight/adp8870_bl.c
patch
|
blob
|
history
diff --git
a/drivers/video/backlight/adp8870_bl.c
b/drivers/video/backlight/adp8870_bl.c
index e320b62576e2becdcdfb641abed1b1aeafc44059..05a8832bb3eb360d2d835e5281323d978d078500 100644
(file)
--- a/
drivers/video/backlight/adp8870_bl.c
+++ b/
drivers/video/backlight/adp8870_bl.c
@@
-889,6
+889,7
@@
static int __devinit adp8870_probe(struct i2c_client *client,
mutex_init(&data->lock);
memset(&props, 0, sizeof(props));
+ props.type = BACKLIGHT_RAW;
props.max_brightness = props.brightness = ADP8870_MAX_BRIGHTNESS;
bl = backlight_device_register(dev_driver_string(&client->dev),
&client->dev, data, &adp8870_bl_ops, &props);