提交 e1bbd19b 编写于 作者: A Andrew Morton 提交者: Linus Torvalds

drivers/video/backlight/adp8870_bl.c: add missed props.type conversion

Cc: Michael Hennerich <michael.hennerich@analog.com>
Cc: Mike Frysinger <vapier@gentoo.org>
Cc: Matthew Garrett <mjg@redhat.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 a59ec1e7
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册