]> Pileus Git - ~andy/linux/commitdiff
x86, intel-mid: Add missing 'void' to functions without arguments
authorDavid Cohen <david.a.cohen@linux.intel.com>
Wed, 22 Jan 2014 22:22:49 +0000 (14:22 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 22 Jan 2014 22:30:02 +0000 (14:30 -0800)
This patch adds missing 'void' to functions that doesn't receive
arguments.

Signed-off-by: David Cohen <david.a.cohen@linux.intel.com>
Link: http://lkml.kernel.org/r/1390429369-13761-1-git-send-email-david.a.cohen@linux.intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/platform/intel-mid/mfld.c
arch/x86/platform/intel-mid/mrfl.c

index 88b06fcf9959fd8d48cb0cf777898425aebc17da..23381d2174ae1d4d2795ebf9a568ff7e43cf8876 100644 (file)
@@ -58,18 +58,18 @@ static unsigned long __init mfld_calibrate_tsc(void)
        return 0;
 }
 
-static void __init penwell_arch_setup()
+static void __init penwell_arch_setup(void)
 {
        x86_platform.calibrate_tsc = mfld_calibrate_tsc;
        pm_power_off = mfld_power_off;
 }
 
-void *get_penwell_ops()
+void *get_penwell_ops(void)
 {
        return &penwell_ops;
 }
 
-void *get_cloverview_ops()
+void *get_cloverview_ops(void)
 {
        return &penwell_ops;
 }
index 28b636a2188707630445fe1e86a55806b23e9edb..aaca91753d3267b94a98af40f7b66f8b5cbbb21c 100644 (file)
@@ -97,7 +97,7 @@ static struct intel_mid_ops tangier_ops = {
        .arch_setup = tangier_arch_setup,
 };
 
-void *get_tangier_ops()
+void *get_tangier_ops(void)
 {
        return &tangier_ops;
 }