diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2006-10-27 01:47:34 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-10-27 01:47:34 -0400 |
commit | 616362de2fe224512fe105aec08f19f5470afb01 (patch) | |
tree | 33e0b807b706caf21a8f622f0cba0063c2a3870a | |
parent | 5c5e81aaa821822309fd2663c22c94ca0802e407 (diff) |
ACPI: make ec_transaction not extern
Fix sparse warning:
drivers/acpi/ec.c:372:12: warning: function 'ec_transaction' with external linkage has definition
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
-rw-r--r-- | drivers/acpi/ec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index e6d4b084dca2..7aa600794ae4 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c | |||
@@ -369,7 +369,7 @@ int ec_write(u8 addr, u8 val) | |||
369 | 369 | ||
370 | EXPORT_SYMBOL(ec_write); | 370 | EXPORT_SYMBOL(ec_write); |
371 | 371 | ||
372 | extern int ec_transaction(u8 command, | 372 | int ec_transaction(u8 command, |
373 | const u8 *wdata, unsigned wdata_len, | 373 | const u8 *wdata, unsigned wdata_len, |
374 | u8 *rdata, unsigned rdata_len) | 374 | u8 *rdata, unsigned rdata_len) |
375 | { | 375 | { |