summaryrefslogtreecommitdiff
path: root/drivers/acpi/ec.c
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2006-10-27 01:47:34 -0400
committerLen Brown <len.brown@intel.com>2006-10-27 01:47:34 -0400
commit616362de2fe224512fe105aec08f19f5470afb01 (patch)
tree33e0b807b706caf21a8f622f0cba0063c2a3870a /drivers/acpi/ec.c
parent5c5e81aaa821822309fd2663c22c94ca0802e407 (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.c2
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)
{