backlight: add backlight type
[pandora-kernel.git] / drivers / platform / x86 / msi-laptop.c
index 7e9bb6d..142d385 100644 (file)
@@ -804,6 +804,7 @@ static int __init msi_init(void)
        } else {
                struct backlight_properties props;
                memset(&props, 0, sizeof(struct backlight_properties));
+               props.type = BACKLIGHT_PLATFORM;
                props.max_brightness = MSI_LCD_LEVEL_MAX - 1;
                msibl_device = backlight_device_register("msi-laptop-bl", NULL,
                                                         NULL, &msibl_ops,