]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/video/backlight/max8925_bl.c
backlight: add backlight type
[mirror_ubuntu-bionic-kernel.git] / drivers / video / backlight / max8925_bl.c
index 209acc105cbcb440c4ed289c81a26f7b65ce0dfe..07e8e273ced0b98898e0509dcc1de30424142eda 100644 (file)
@@ -136,6 +136,7 @@ static int __devinit max8925_backlight_probe(struct platform_device *pdev)
        data->current_brightness = 0;
 
        memset(&props, 0, sizeof(struct backlight_properties));
+       props.type = BACKLIGHT_RAW;
        props.max_brightness = MAX_BRIGHTNESS;
        bl = backlight_device_register(name, &pdev->dev, data,
                                        &max8925_backlight_ops, &props);