]> Pileus Git - ~andy/linux/blobdiff - drivers/macintosh/via-pmu-backlight.c
Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[~andy/linux] / 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);