From: Randy Dunlap <randy.dunlap@xxxxxxxxxx> 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@xxxxxxxxxx> --- drivers/acpi/ec.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) --- linux-2.6.19-rc2-git8.orig/drivers/acpi/ec.c +++ linux-2.6.19-rc2-git8/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) { --- --- ~Randy - To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html