Browse Source

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>
Jesper Nilsson 11 years ago
parent
commit
ca36c1fadd
1 changed files with 0 additions and 1 deletions
  1. 0 1
      arch/cris/arch-v32/drivers/i2c.h

+ 0 - 1
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);