diff options
author | David Cohen <david.a.cohen@linux.intel.com> | 2014-01-22 17:22:49 -0500 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2014-01-22 17:30:02 -0500 |
commit | 48102ca7fb2856dde2c75fbd37db45ba630f2967 (patch) | |
tree | 1f04a2b70c9970848b25e59084a86cb54d766d9a /arch | |
parent | 47683f7fe5d2abd71bf08b42060bcf95e0ad668f (diff) |
x86, intel-mid: Add missing 'void' to functions without arguments
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/platform/intel-mid/mfld.c | 6 | ||||
-rw-r--r-- | arch/x86/platform/intel-mid/mrfl.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/platform/intel-mid/mfld.c b/arch/x86/platform/intel-mid/mfld.c index 88b06fcf9959..23381d2174ae 100644 --- a/arch/x86/platform/intel-mid/mfld.c +++ b/arch/x86/platform/intel-mid/mfld.c | |||
@@ -58,18 +58,18 @@ static unsigned long __init mfld_calibrate_tsc(void) | |||
58 | return 0; | 58 | return 0; |
59 | } | 59 | } |
60 | 60 | ||
61 | static void __init penwell_arch_setup() | 61 | static void __init penwell_arch_setup(void) |
62 | { | 62 | { |
63 | x86_platform.calibrate_tsc = mfld_calibrate_tsc; | 63 | x86_platform.calibrate_tsc = mfld_calibrate_tsc; |
64 | pm_power_off = mfld_power_off; | 64 | pm_power_off = mfld_power_off; |
65 | } | 65 | } |
66 | 66 | ||
67 | void *get_penwell_ops() | 67 | void *get_penwell_ops(void) |
68 | { | 68 | { |
69 | return &penwell_ops; | 69 | return &penwell_ops; |
70 | } | 70 | } |
71 | 71 | ||
72 | void *get_cloverview_ops() | 72 | void *get_cloverview_ops(void) |
73 | { | 73 | { |
74 | return &penwell_ops; | 74 | return &penwell_ops; |
75 | } | 75 | } |
diff --git a/arch/x86/platform/intel-mid/mrfl.c b/arch/x86/platform/intel-mid/mrfl.c index 28b636a21887..aaca91753d32 100644 --- a/arch/x86/platform/intel-mid/mrfl.c +++ b/arch/x86/platform/intel-mid/mrfl.c | |||
@@ -97,7 +97,7 @@ static struct intel_mid_ops tangier_ops = { | |||
97 | .arch_setup = tangier_arch_setup, | 97 | .arch_setup = tangier_arch_setup, |
98 | }; | 98 | }; |
99 | 99 | ||
100 | void *get_tangier_ops() | 100 | void *get_tangier_ops(void) |
101 | { | 101 | { |
102 | return &tangier_ops; | 102 | return &tangier_ops; |
103 | } | 103 | } |