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 /drivers/acpi/ec.c | |
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>
Diffstat (limited to 'drivers/acpi/ec.c')
-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) EXPORT_SYMBOL(ec_write); -extern int ec_transaction(u8 command, +int ec_transaction(u8 command, const u8 *wdata, unsigned wdata_len, u8 *rdata, unsigned rdata_len) { |