cris-etrax.patch 642 B

123456789101112
  1. 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
  2. --- linux-2.6.39.orig/arch/cris/arch-v32/drivers/i2c.h 2011-05-19 06:06:34.000000000 +0200
  3. +++ linux-2.6.39/arch/cris/arch-v32/drivers/i2c.h 2011-08-24 19:15:05.000000000 +0200
  4. @@ -2,7 +2,7 @@
  5. #include <linux/init.h>
  6. /* High level I2C actions */
  7. -int __init i2c_init(void);
  8. +static int __init i2c_init(void);
  9. int i2c_write(unsigned char theSlave, void *data, size_t nbytes);
  10. int i2c_read(unsigned char theSlave, void *data, size_t nbytes);
  11. int i2c_writereg(unsigned char theSlave, unsigned char theReg, unsigned char theValue);