]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/macintosh/via-pmu-backlight.c
Merge branch 'for-linus' into for-next
[karo-tx-linux.git] / drivers / macintosh / via-pmu-backlight.c
index ade1e656bfb25b0ce7343af35f53638bfc778018..b1d91170ded00eeb13d93dbdbef3117d131b224b 100644 (file)
@@ -163,6 +163,7 @@ void __init pmu_backlight_init()
        snprintf(name, sizeof(name), "pmubl");
 
        memset(&props, 0, sizeof(struct backlight_properties));
+       props.type = BACKLIGHT_PLATFORM;
        props.max_brightness = FB_BACKLIGHT_LEVELS - 1;
        bd = backlight_device_register(name, NULL, NULL, &pmu_backlight_data,
                                       &props);