From: Andreas Schwab Date: Sat, 30 Dec 2006 00:48:16 +0000 (-0800) Subject: [PATCH] Fix compilation of via-pmu-backlight X-Git-Tag: v2.6.20-rc3~37 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96ceeaf4ab66315a5149296bb58d8e1a9e6f2f6d;p=linux-2.6 [PATCH] Fix compilation of via-pmu-backlight Signed-off-by: Andreas Schwab Cc: "Yu, Luming" Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/macintosh/via-pmu-backlight.c b/drivers/macintosh/via-pmu-backlight.c index 6c29fe727c..801a974342 100644 --- a/drivers/macintosh/via-pmu-backlight.c +++ b/drivers/macintosh/via-pmu-backlight.c @@ -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;