diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2012-10-11 11:05:05 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2012-10-11 11:05:05 +0200 |
commit | 046cf475d64cb44460ac0aeb9e53032efd8185d0 (patch) | |
tree | 46ddb06b418e42c52c0a02ba2b90f0f4d2b9b93e /target/linux/patches/3.4.13/cris-etrax.patch | |
parent | 58de4f5caf471cecbaebdb023cd8e2c5f89bfdb3 (diff) | |
parent | ec67efc42516136adee22d15ef1fb64b32637806 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'target/linux/patches/3.4.13/cris-etrax.patch')
-rw-r--r-- | target/linux/patches/3.4.13/cris-etrax.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/patches/3.4.13/cris-etrax.patch b/target/linux/patches/3.4.13/cris-etrax.patch new file mode 100644 index 000000000..a80d9a8b8 --- /dev/null +++ b/target/linux/patches/3.4.13/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); |