Commit 7027d8b5 authored by Randy Dunlap's avatar Randy Dunlap Committed by Matthew Garrett

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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Cc:	Matthew Garrett <mjg@redhat.com>
Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
parent 4a198be7
...@@ -1474,7 +1474,7 @@ ips_gpu_turbo_enabled(struct ips_driver *ips) ...@@ -1474,7 +1474,7 @@ ips_gpu_turbo_enabled(struct ips_driver *ips)
} }
void void
ips_link_to_i915_driver() ips_link_to_i915_driver(void)
{ {
/* We can't cleanly get at the various ips_driver structs from /* We can't cleanly get at the various ips_driver structs from
* this caller (the i915 driver), so just set a flag saying * this caller (the i915 driver), so just set a flag saying
......
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