* [PATCH] intel_ips: fix sparse non-ANSI function warning
@ 2011-01-09 3:55 Randy Dunlap
2011-01-10 16:55 ` Matthew Garrett
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2011-01-09 3:55 UTC (permalink / raw)
To: platx86; +Cc: Matthew Garrett
From: Randy Dunlap <randy.dunlap@oracle.com>
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 <randy.dunlap@oracle.com>
Cc: Matthew Garrett <mjg@redhat.com>
---
drivers/platform/x86/intel_ips.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- lnx0107.orig/drivers/platform/x86/intel_ips.c
+++ lnx0107/drivers/platform/x86/intel_ips.c
@@ -1474,7 +1474,7 @@ ips_gpu_turbo_enabled(struct ips_driver
}
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-01-10 16:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-09 3:55 [PATCH] intel_ips: fix sparse non-ANSI function warning Randy Dunlap
2011-01-10 16:55 ` Matthew Garrett
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox