projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c5e81a
)
ACPI: make ec_transaction not extern
author
Randy Dunlap
<randy.dunlap@oracle.com>
Fri, 27 Oct 2006 05:47:34 +0000
(
01:47
-0400)
committer
Len Brown
<len.brown@intel.com>
Fri, 27 Oct 2006 05:47:34 +0000
(
01:47
-0400)
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>
drivers/acpi/ec.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/acpi/ec.c
b/drivers/acpi/ec.c
index e6d4b084dca2eeb40213074998ccdfde52278260..7aa600794ae419027a235223dca08ac82682e046 100644
(file)
--- a/
drivers/acpi/ec.c
+++ b/
drivers/acpi/ec.c
@@
-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)
{