Update au1000 for .21, build an SREC initramfs image so that it can be tested directl...
[openwrt/svn-archive/archive.git] / target / linux / au1000-2.6 / patches / 010-au100_gpio_i2c.patch
index 9fd2e8936466c9c08c9ef3237f02fe2176e85353..8cb869ee2a26c496364322f8f873770af7d05c38 100644 (file)
@@ -376,7 +376,7 @@ diff -urN linux-2.6.19/drivers/i2c/busses/i2c-au1x00gpio.c linux-2.6.19.new/driv
 +              if (adapter->scl_gpio == scl_gpio &&
 +                  adapter->sda_gpio == sda_gpio)
 +              {
-+                      i2c_bit_del_bus(&adapter->adapter);
++                      i2c_del_adapter(&adapter->adapter);
 +                      if (prev)
 +                              prev->next = adapter->next;
 +                      else