diff options
author | Andreas Schwab <schwab@suse.de> | 2006-12-29 16:48:16 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-30 10:56:41 -0800 |
commit | 96ceeaf4ab66315a5149296bb58d8e1a9e6f2f6d (patch) | |
tree | 834d6008ccea2b756ccc44247fa169c5367dc8c1 /drivers/macintosh/via-pmu-backlight.c | |
parent | 9414232fa0cc28e2f51b8c76d260f2748f7953fc (diff) | |
download | linux-96ceeaf4ab66315a5149296bb58d8e1a9e6f2f6d.tar.gz linux-96ceeaf4ab66315a5149296bb58d8e1a9e6f2f6d.tar.bz2 linux-96ceeaf4ab66315a5149296bb58d8e1a9e6f2f6d.zip |
[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/via-pmu-backlight.c')
-rw-r--r-- | drivers/macintosh/via-pmu-backlight.c | 2 |
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() 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; |