[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20061226131227.66722921@localhost>
Date: Tue, 26 Dec 2006 13:12:27 +0100
From: Andreas Jaggi <andreas.jaggi@...erwave.ch>
To: linux-kernel@...r.kernel.org
Cc: Michael Hanselmann <linux-kernel@...smi.ch>,
Yu Luming <luming.yu@...il.com>, Andrew Morton <akpm@...l.org>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>
Subject: [PATCH] via-pmu-backlight.c backlight_device_register build fix
Update call to backlight_device_register in via-pmu-backlight.c after argument change.
Signed-off-by: Andreas Jaggi <andreas.jaggi@...erwave.ch>
diff --git a/drivers/macintosh/via-pmu-backlight.c b/drivers/macintosh/via-pmu-backlight.c
index 6c29fe7..801a974 100644
--- a/drivers/macintosh/via-pmu-backlight.c
+++ b/drivers/macintosh/via-pmu-backlight.c
@@ -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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists