aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/macintosh
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2006-12-29 19:48:16 -0500
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-30 13:56:41 -0500
commit96ceeaf4ab66315a5149296bb58d8e1a9e6f2f6d (patch)
tree834d6008ccea2b756ccc44247fa169c5367dc8c1 /drivers/macintosh
parent9414232fa0cc28e2f51b8c76d260f2748f7953fc (diff)
[PATCH] Fix compilation of via-pmu-backlight
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>
Diffstat (limited to 'drivers/macintosh')
-rw-r--r--drivers/macintosh/via-pmu-backlight.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/macintosh/via-pmu-backlight.c b/drivers/macintosh/via-pmu-backlight.c
index 6c29fe727c0f..801a974342f9 100644
--- a/drivers/macintosh/via-pmu-backlight.c
+++ b/drivers/macintosh/via-pmu-backlight.c
@@ -147,7 +147,7 @@ void __init pmu_backlight_init()
147 147
148 snprintf(name, sizeof(name), "pmubl"); 148 snprintf(name, sizeof(name), "pmubl");
149 149
150 bd = backlight_device_register(name, NULL, &pmu_backlight_data); 150 bd = backlight_device_register(name, NULL, NULL, &pmu_backlight_data);
151 if (IS_ERR(bd)) { 151 if (IS_ERR(bd)) {
152 printk("pmubl: Backlight registration failed\n"); 152 printk("pmubl: Backlight registration failed\n");
153 goto error; 153 goto error;