mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 09:02:00 +00:00
[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>
This commit is contained in:
parent
9414232fa0
commit
96ceeaf4ab
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user