Commit 48102ca7 authored by David Cohen's avatar David Cohen Committed by H. Peter Anvin

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: default avatarDavid Cohen <david.a.cohen@linux.intel.com>
Link: http://lkml.kernel.org/r/1390429369-13761-1-git-send-email-david.a.cohen@linux.intel.comSigned-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
parent 47683f7f
...@@ -58,18 +58,18 @@ static unsigned long __init mfld_calibrate_tsc(void) ...@@ -58,18 +58,18 @@ static unsigned long __init mfld_calibrate_tsc(void)
return 0; return 0;
} }
static void __init penwell_arch_setup() static void __init penwell_arch_setup(void)
{ {
x86_platform.calibrate_tsc = mfld_calibrate_tsc; x86_platform.calibrate_tsc = mfld_calibrate_tsc;
pm_power_off = mfld_power_off; pm_power_off = mfld_power_off;
} }
void *get_penwell_ops() void *get_penwell_ops(void)
{ {
return &penwell_ops; return &penwell_ops;
} }
void *get_cloverview_ops() void *get_cloverview_ops(void)
{ {
return &penwell_ops; return &penwell_ops;
} }
...@@ -97,7 +97,7 @@ static struct intel_mid_ops tangier_ops = { ...@@ -97,7 +97,7 @@ static struct intel_mid_ops tangier_ops = {
.arch_setup = tangier_arch_setup, .arch_setup = tangier_arch_setup,
}; };
void *get_tangier_ops() void *get_tangier_ops(void)
{ {
return &tangier_ops; return &tangier_ops;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment