projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
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
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
9fd2e89
..
8cb869e
100644
(file)
--- 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)
+ {
+ 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.