提交 00f7b29f 编写于 作者: M Mathieu Malaterre 提交者: Michael Ellerman

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: NMathieu Malaterre <malat@debian.org>
Acked-by: NDaniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
上级 4a7b8a49
...@@ -137,7 +137,7 @@ void pmu_backlight_set_sleep(int sleep) ...@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册