[PATCH] Fix compilation of via-pmu-backlight
authorAndreas Schwab <[email protected]>
Sat, 30 Dec 2006 00:48:16 +0000 (16:48 -0800)
committerLinus Torvalds <[email protected]>
Sat, 30 Dec 2006 18:56:41 +0000 (10:56 -0800)
Signed-off-by: Andreas Schwab <[email protected]>
Cc: "Yu, Luming" <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/macintosh/via-pmu-backlight.c

index 6c29fe727c0f4ea7ee30d1daac58dc5efc309fc6..801a974342f919bc6d2e515f7e58919351cf6c77 100644 (file)
@@ -147,7 +147,7 @@ void __init pmu_backlight_init()
 
        snprintf(name, sizeof(name), "pmubl");
 
-       bd = backlight_device_register(name, NULL, &pmu_backlight_data);
+       bd = backlight_device_register(name, NULL, NULL, &pmu_backlight_data);
        if (IS_ERR(bd)) {
                printk("pmubl: Backlight registration failed\n");
                goto error;