aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/au1000-2.6/patches/010-au100_gpio_i2c.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/au1000-2.6/patches/010-au100_gpio_i2c.patch')
-rw-r--r--target/linux/au1000-2.6/patches/010-au100_gpio_i2c.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/au1000-2.6/patches/010-au100_gpio_i2c.patch b/target/linux/au1000-2.6/patches/010-au100_gpio_i2c.patch
index 9fd2e89364..8cb869ee2a 100644
--- a/target/linux/au1000-2.6/patches/010-au100_gpio_i2c.patch
+++ b/target/linux/au1000-2.6/patches/010-au100_gpio_i2c.patch
@@ -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