Skip to contentSkip to conversation

via-pmu-backlight.c backlight_device_register build fix

PATCH New Andreas Jaggi 1 participant 1 message Dec 26, 2006 Linux for power macintosh

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 via-pmu-backlight.c backlight_device_register build fix

Update call to backlight_device_register in via-pmu-backlight.c after argument change.

drivers/macintosh/via-pmu-backlight.c +1 -1
index 6c29fe7..801a974 100644
@@ -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;