Commit ca36c1faddb48c478f7f8944b9b900fc72629310

Authored by Jesper Nilsson
1 parent 3f10462f29

CRISv32: Fix declaration mismatch

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>

Showing 1 changed file with 0 additions and 1 deletions Side-by-side Diff

arch/cris/arch-v32/drivers/i2c.h
... ... @@ -2,7 +2,6 @@
2 2 #include <linux/init.h>
3 3  
4 4 /* High level I2C actions */
5   -int __init i2c_init(void);
6 5 int i2c_write(unsigned char theSlave, void *data, size_t nbytes);
7 6 int i2c_read(unsigned char theSlave, void *data, size_t nbytes);
8 7 int i2c_writereg(unsigned char theSlave, unsigned char theReg, unsigned char theValue);