提交 616362de 编写于 作者: R Randy Dunlap 提交者: 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: NRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLen Brown <len.brown@intel.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册