Skip to content

Commit

Permalink
[PATCH] Fix compilation of via-pmu-backlight
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andreas Schwab authored and Linus Torvalds committed Dec 30, 2006
1 parent 9414232 commit 96ceeaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/macintosh/via-pmu-backlight.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 96ceeaf

Please sign in to comment.