diff options
author | Mathieu Malaterre <malat@debian.org> | 2017-12-26 15:12:41 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-01-21 23:37:44 +1100 |
commit | 00f7b29f6e9b8ab900b1de19e72c457fd6702ccb (patch) | |
tree | 29e3ef54efc4f7c02ad4cefe106ac4a13110bef1 | |
parent | 4a7b8a499724c98493023e1e3009aab005968feb (diff) | |
download | op-kernel-dev-00f7b29f6e9b8ab900b1de19e72c457fd6702ccb.zip op-kernel-dev-00f7b29f6e9b8ab900b1de19e72c457fd6702ccb.tar.gz |
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: Mathieu Malaterre <malat@debian.org>
Acked-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
-rw-r--r-- | drivers/macintosh/via-pmu-backlight.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/macintosh/via-pmu-backlight.c b/drivers/macintosh/via-pmu-backlight.c index 89ed515..50ada02 100644 --- a/drivers/macintosh/via-pmu-backlight.c +++ b/drivers/macintosh/via-pmu-backlight.c @@ -137,7 +137,7 @@ void pmu_backlight_set_sleep(int sleep) } #endif /* CONFIG_PM */ -void __init pmu_backlight_init() +void __init pmu_backlight_init(void) { struct backlight_properties props; struct backlight_device *bd; |