summaryrefslogtreecommitdiff
path: root/target/linux/patches/3.11.10/cris-etrax.patch
blob: a80d9a8b88a4b9c8b071dd89297588ecc8090281 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Nur linux-2.6.39.orig/arch/cris/arch-v32/drivers/i2c.h linux-2.6.39/arch/cris/arch-v32/drivers/i2c.h
--- linux-2.6.39.orig/arch/cris/arch-v32/drivers/i2c.h	2011-05-19 06:06:34.000000000 +0200
+++ linux-2.6.39/arch/cris/arch-v32/drivers/i2c.h	2011-08-24 19:15:05.000000000 +0200
@@ -2,7 +2,7 @@
 #include <linux/init.h>
 
 /* High level I2C actions */
-int __init i2c_init(void);
+static 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);