projects
/
platform
/
kernel
/
linux-rpi.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
|
history
diff --git
a/arch/cris/arch-v32/drivers/i2c.h
b/arch/cris/arch-v32/drivers/i2c.h
index
c073cf4
..
d9cc856
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);