From: Andrew Morton Date: Wed, 15 Jun 2011 22:08:12 +0000 (-0700) Subject: drivers/video/backlight/adp8870_bl.c: add missed props.type conversion X-Git-Tag: firefly_0821_release~3680^2~5293 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e1bbd19bc4afef7adb80cca163800391c4f5773d;p=firefly-linux-kernel-4.4.55.git drivers/video/backlight/adp8870_bl.c: add missed props.type conversion Cc: Michael Hennerich Cc: Mike Frysinger Cc: Matthew Garrett Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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, 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);