Skip to content

Commit

Permalink
ACPI: make ec_transaction not extern
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and Len Brown committed Oct 27, 2006
1 parent 5c5e81a commit 616362d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/acpi/ec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 616362d

Please sign in to comment.