aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;