diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2011-01-08 22:55:40 -0500 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2011-01-10 11:55:25 -0500 |
commit | 7027d8b570244f0fa3aaebccf0bcd8e95e172631 (patch) | |
tree | a7badd429c45f1079f8449dc74db8d7f976ad356 /drivers/platform | |
parent | 4a198be7f072190a44033b7de6084b090b9885ee (diff) |
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 <randy.dunlap@oracle.com>
Cc: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/intel_ips.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
1474 | } | 1474 | } |
1475 | 1475 | ||
1476 | void | 1476 | void |
1477 | ips_link_to_i915_driver() | 1477 | ips_link_to_i915_driver(void) |
1478 | { | 1478 | { |
1479 | /* We can't cleanly get at the various ips_driver structs from | 1479 | /* We can't cleanly get at the various ips_driver structs from |
1480 | * this caller (the i915 driver), so just set a flag saying | 1480 | * this caller (the i915 driver), so just set a flag saying |