From: Andreas Schwab Date: Sat, 30 Dec 2006 00:48:16 +0000 (-0800) Subject: [PATCH] Fix compilation of via-pmu-backlight X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=96ceeaf4ab66315a5149296bb58d8e1a9e6f2f6d;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [PATCH] Fix compilation of via-pmu-backlight Signed-off-by: Andreas Schwab Cc: "Yu, Luming" Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/macintosh/via-pmu-backlight.c b/drivers/macintosh/via-pmu-backlight.c index 6c29fe727c0..801a974342f 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;