Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 00f7b29f authored by Mathieu Malaterre's avatar Mathieu Malaterre Committed by Michael Ellerman
Browse files

backlight: Fix old-style function definition



Fix warning:

drivers/macintosh/via-pmu-backlight.c: In function ‘pmu_backlight_init’:
drivers/macintosh/via-pmu-backlight.c:140:13: warning: old-style function definition [-Wold-style-definition]
 void __init pmu_backlight_init()
             ^~~~~~~~~~~~~~~~~~

Signed-off-by: default avatarMathieu Malaterre <malat@debian.org>
Acked-by: default avatarDaniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 4a7b8a49
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -137,7 +137,7 @@ void pmu_backlight_set_sleep(int sleep)
}
}
#endif /* CONFIG_PM */
#endif /* CONFIG_PM */


void __init pmu_backlight_init()
void __init pmu_backlight_init(void)
{
{
	struct backlight_properties props;
	struct backlight_properties props;
	struct backlight_device *bd;
	struct backlight_device *bd;