mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-18 10:13:57 +08:00
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>
This commit is contained in:
parent
5c5e81aaa8
commit
616362de2f
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user