backlight: add backlight type
[pandora-kernel.git] / drivers / platform / x86 / asus-laptop.c
index f3aa6a7..5a6f7d7 100644 (file)
@@ -667,6 +667,7 @@ static int asus_backlight_init(struct asus_laptop *asus)
 
        memset(&props, 0, sizeof(struct backlight_properties));
        props.max_brightness = 15;
+       props.type = BACKLIGHT_PLATFORM;
 
        bd = backlight_device_register(ASUS_LAPTOP_FILE,
                                       &asus->platform_device->dev, asus,