]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
intel_ips: fix sparse non-ANSI function warning
authorRandy Dunlap <randy.dunlap@oracle.com>
Sun, 9 Jan 2011 03:55:40 +0000 (19:55 -0800)
committerMatthew Garrett <mjg@redhat.com>
Mon, 10 Jan 2011 16:55:25 +0000 (11:55 -0500)
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>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/intel_ips.c

index f0b3ad13c273fb73394cc78ca8fb36521a8a4c90..1294a39373bab688fbc8ce14a777a8811c66c7b2 100644 (file)
@@ -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