[PATCH] Fix compilation of via-pmu-backlight
authorAndreas Schwab <schwab@suse.de>
Sat, 30 Dec 2006 00:48:16 +0000 (16:48 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Sat, 30 Dec 2006 18:56:41 +0000 (10:56 -0800)
Signed-off-by: Andreas Schwab <schwab@suse.de>
Cc: "Yu, Luming" <luming.yu@intel.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
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;