diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2011-06-15 18:08:12 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-06-15 23:03:59 -0400 |
commit | e1bbd19bc4afef7adb80cca163800391c4f5773d (patch) | |
tree | bdc8fc76f7de8127cad59e2aefb3fcfc01f0e8b0 /drivers/video/backlight | |
parent | a59ec1e7ff98cc4365d5b1bff4e7102e86b5716b (diff) |
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: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/backlight')
-rw-r--r-- | drivers/video/backlight/adp8870_bl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/backlight/adp8870_bl.c b/drivers/video/backlight/adp8870_bl.c index e320b62576e2..05a8832bb3eb 100644 --- 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, | |||
889 | mutex_init(&data->lock); | 889 | mutex_init(&data->lock); |
890 | 890 | ||
891 | memset(&props, 0, sizeof(props)); | 891 | memset(&props, 0, sizeof(props)); |
892 | props.type = BACKLIGHT_RAW; | ||
892 | props.max_brightness = props.brightness = ADP8870_MAX_BRIGHTNESS; | 893 | props.max_brightness = props.brightness = ADP8870_MAX_BRIGHTNESS; |
893 | bl = backlight_device_register(dev_driver_string(&client->dev), | 894 | bl = backlight_device_register(dev_driver_string(&client->dev), |
894 | &client->dev, data, &adp8870_bl_ops, &props); | 895 | &client->dev, data, &adp8870_bl_ops, &props); |