From dc35eeb3fa79a5ba34b4934f23f1513f15abfaed Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 25 Apr 2013 11:17:43 +0200 Subject: add longterm kernel support --- target/linux/patches/3.4.41/cris-etrax.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 target/linux/patches/3.4.41/cris-etrax.patch (limited to 'target/linux/patches/3.4.41/cris-etrax.patch') diff --git a/target/linux/patches/3.4.41/cris-etrax.patch b/target/linux/patches/3.4.41/cris-etrax.patch new file mode 100644 index 000000000..a80d9a8b8 --- /dev/null +++ b/target/linux/patches/3.4.41/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 + + /* 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); -- cgit v1.2.3