Skip to contentSkip to conversation

acpi: make ec_transaction not extern

PATCH New Randy Dunlap 1 participant 1 message Oct 24, 2006 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 acpi: make ec_transaction not extern

From: Randy Dunlap <[email protected]>

Fix sparse warning:
drivers/acpi/ec.c:372:12: warning: function 'ec_transaction' with external linkage has definition

---
 drivers/acpi/ec.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/ec.c +1 -1
@@ -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