VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
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 parent: 4a7b8a499724c98493023e1e3009aab005968feb
Commit Summary:
backlight: Fix old-style function definition
Diffstat:
1 file changed, 1 insertion, 1 deletion
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;