diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-08-30 07:11:22 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-08-30 07:11:22 +0200 |
commit | 37c6990e7618cd28cae08cc5f2498910d7a7f5da (patch) | |
tree | 6853805ba53b3da6d770b9adcb66ab8eda50d922 /target/linux/patches/2.6.39 | |
parent | 9a71264445185841dee548eca87b2984fc198f1f (diff) |
add infrastructure for qemu-cris (still broken)
Diffstat (limited to 'target/linux/patches/2.6.39')
-rw-r--r-- | target/linux/patches/2.6.39/cris-etrax.patch | 12 |
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); |