Skip to content

Commit

Permalink
intel_ips: fix sparse non-ANSI function warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and Matthew Garrett committed Jan 10, 2011
1 parent 4a198be commit 7027d8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/platform/x86/intel_ips.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7027d8b

Please sign in to comment.