summaryrefslogtreecommitdiffstats
path: root/drivers/video/backlight/generic_bl.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/backlight/generic_bl.c')
-rw-r--r--drivers/video/backlight/generic_bl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/backlight/generic_bl.c b/drivers/video/backlight/generic_bl.c
index 312ca619735d..8c6befd65a33 100644
--- a/drivers/video/backlight/generic_bl.c
+++ b/drivers/video/backlight/generic_bl.c
@@ -91,6 +91,7 @@ static int genericbl_probe(struct platform_device *pdev)
name = machinfo->name;
memset(&props, 0, sizeof(struct backlight_properties));
+ props.type = BACKLIGHT_RAW;
props.max_brightness = machinfo->max_intensity;
bd = backlight_device_register(name, &pdev->dev, NULL, &genericbl_ops,
&props);