CRISv32: Fix declaration mismatch
authorJesper Nilsson <jespern@axis.com>
Tue, 7 Oct 2014 11:42:35 +0000 (13:42 +0200)
committerJesper 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

index c073cf4..d9cc856 100644 (file)
@@ -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);