aboutsummaryrefslogtreecommitdiff
path: root/drivers/video/backlight/wm831x_bl.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/backlight/wm831x_bl.c')
-rw-r--r--drivers/video/backlight/wm831x_bl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/backlight/wm831x_bl.c b/drivers/video/backlight/wm831x_bl.c
index 08fd87f3aec..d4c6eb248ff 100644
--- a/drivers/video/backlight/wm831x_bl.c
+++ b/drivers/video/backlight/wm831x_bl.c
@@ -193,6 +193,7 @@ static int wm831x_backlight_probe(struct platform_device *pdev)
data->current_brightness = 0;
data->isink_reg = isink_reg;
+ props.type = BACKLIGHT_RAW;
props.max_brightness = max_isel;
bl = backlight_device_register("wm831x", &pdev->dev, data,
&wm831x_backlight_ops, &props);