From: Randy Dunlap Date: Sun, 9 Jan 2011 03:55:40 +0000 (-0800) Subject: intel_ips: fix sparse non-ANSI function warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7027d8b570244f0fa3aaebccf0bcd8e95e172631;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git intel_ips: fix sparse non-ANSI function warning Fix sparse warning for non-ANSI function declaration: drivers/platform/x86/intel_ips.c:1477:25: warning: non-ANSI function declaration of function 'ips_link_to_i915_driver' Signed-off-by: Randy Dunlap Cc: Matthew Garrett Signed-off-by: Matthew Garrett --- diff --git a/drivers/platform/x86/intel_ips.c b/drivers/platform/x86/intel_ips.c index f0b3ad13c273..1294a39373ba 100644 --- a/drivers/platform/x86/intel_ips.c +++ b/drivers/platform/x86/intel_ips.c @@ -1474,7 +1474,7 @@ ips_gpu_turbo_enabled(struct ips_driver *ips) } void -ips_link_to_i915_driver() +ips_link_to_i915_driver(void) { /* We can't cleanly get at the various ips_driver structs from * this caller (the i915 driver), so just set a flag saying