Restore the gpio.h file, platform.c uses the generic GPIO API
[openwrt.git] / target / linux / au1000-2.6 / patches / 010-au100_gpio_i2c.patch
index 9fd2e89..8cb869e 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)
 +              {
 +              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
 +                      if (prev)
 +                              prev->next = adapter->next;
 +                      else
This page took 0.020551 seconds and 4 git commands to generate.