Commit 96ceeaf4 authored by Andreas Schwab's avatar Andreas Schwab Committed by Linus Torvalds

[PATCH] Fix compilation of via-pmu-backlight

Signed-off-by: default avatarAndreas Schwab <schwab@suse.de>
Cc: "Yu, Luming" <luming.yu@intel.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 9414232f
...@@ -147,7 +147,7 @@ void __init pmu_backlight_init() ...@@ -147,7 +147,7 @@ void __init pmu_backlight_init()
snprintf(name, sizeof(name), "pmubl"); 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)) { if (IS_ERR(bd)) {
printk("pmubl: Backlight registration failed\n"); printk("pmubl: Backlight registration failed\n");
goto error; goto error;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment