Commit 616362de authored by Randy Dunlap's avatar Randy Dunlap Committed by Len Brown

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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 5c5e81aa
......@@ -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)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment