]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ACPI: make ec_transaction not extern
authorRandy Dunlap <randy.dunlap@oracle.com>
Fri, 27 Oct 2006 05:47:34 +0000 (01:47 -0400)
committerLen Brown <len.brown@intel.com>
Fri, 27 Oct 2006 05:47:34 +0000 (01:47 -0400)
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>
drivers/acpi/ec.c

index e6d4b084dca2eeb40213074998ccdfde52278260..7aa600794ae419027a235223dca08ac82682e046 100644 (file)
@@ -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)
 {