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 /drivers/macintosh | |
parent | 4a7b8a499724c98493023e1e3009aab005968feb (diff) | |
download | linux-00f7b29f6e9b8ab900b1de19e72c457fd6702ccb.tar.gz linux-00f7b29f6e9b8ab900b1de19e72c457fd6702ccb.tar.bz2 linux-00f7b29f6e9b8ab900b1de19e72c457fd6702ccb.zip |
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>
Diffstat (limited to 'drivers/macintosh')
-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 89ed51571b62..50ada02ae75d 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; |