mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
drivers/video/backlight/adp8870_bl.c: add missed props.type conversion
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]>
This commit is contained in:
parent
a59ec1e7ff
commit
e1bbd19bc4
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue