projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f10462
)
CRISv32: Fix declaration mismatch
author
Jesper Nilsson
<jespern@axis.com>
Tue, 7 Oct 2014 11:42:35 +0000
(13:42 +0200)
committer
Jesper Nilsson
<jespern@axis.com>
Fri, 19 Dec 2014 23:05:21 +0000
(
00:05
+0100)
Drop i2c_init from this header, it was declared non-static here,
but static in the C-file.
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
arch/cris/arch-v32/drivers/i2c.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/cris/arch-v32/drivers/i2c.h
b/arch/cris/arch-v32/drivers/i2c.h
index c073cf4ba016282d11ea5ee7631bf54b288bb5a6..d9cc856f89fb387e495983d018670504270a8cba 100644
(file)
--- a/
arch/cris/arch-v32/drivers/i2c.h
+++ b/
arch/cris/arch-v32/drivers/i2c.h
@@
-2,7
+2,6
@@
#include <linux/init.h>
/* High level I2C actions */
-int __init i2c_init(void);
int i2c_write(unsigned char theSlave, void *data, size_t nbytes);
int i2c_read(unsigned char theSlave, void *data, size_t nbytes);
int i2c_writereg(unsigned char theSlave, unsigned char theReg, unsigned char theValue);