summaryrefslogtreecommitdiff
path: root/target/linux/patches/2.6.39/cris-etrax.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-08-30 07:30:54 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-08-30 07:30:54 +0200
commit451e85da10ceb1e05a609ef73b42d936c1b84c97 (patch)
treeb7e545797c68b9218925b77c2b870ddf9d32cda4 /target/linux/patches/2.6.39/cris-etrax.patch
parentdb16a43186aa78290e40c72c4673295ac7a9da9e (diff)
parent85dc11ff3697d2e6cc9fe70bcc0445fb4684840a (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'target/linux/patches/2.6.39/cris-etrax.patch')
-rw-r--r--target/linux/patches/2.6.39/cris-etrax.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/patches/2.6.39/cris-etrax.patch b/target/linux/patches/2.6.39/cris-etrax.patch
new file mode 100644
index 000000000..a80d9a8b8
--- /dev/null
+++ b/target/linux/patches/2.6.39/cris-etrax.patch
@@ -0,0 +1,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);