diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-03-14 15:52:42 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-03-14 15:52:42 +0000 |
commit | 26e3776a22bf894ced5af4c28968dc1dc99968eb (patch) | |
tree | 2d38a3789e27a423439c37a45a09cae31990a615 /target/linux/au1000/patches/017-gpio-dir.patch | |
parent | 4bd70fc26256cf485f19e0c8b881e078dc36134f (diff) |
nuke obsolete kernel stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14875 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/au1000/patches/017-gpio-dir.patch')
-rw-r--r-- | target/linux/au1000/patches/017-gpio-dir.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/target/linux/au1000/patches/017-gpio-dir.patch b/target/linux/au1000/patches/017-gpio-dir.patch deleted file mode 100644 index 5ae819ee1..000000000 --- a/target/linux/au1000/patches/017-gpio-dir.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/arch/mips/au1000/common/gpio.c -+++ b/arch/mips/au1000/common/gpio.c -@@ -66,7 +66,8 @@ static int au1xxx_gpio2_direction_input( - static int au1xxx_gpio2_direction_output(unsigned gpio, int value) - { - gpio -= AU1XXX_GPIO_BASE; -- gpio2->dir = (0x01 << gpio) | (value << gpio); -+ gpio2->dir |= 0x01 << gpio; -+ gpio2->output = (GPIO2_OUTPUT_ENABLE_MASK << gpio) | (value << gpio); - return 0; - } - -@@ -95,6 +96,7 @@ static int au1xxx_gpio1_direction_input( - static int au1xxx_gpio1_direction_output(unsigned gpio, int value) - { - gpio1->trioutclr = (0x01 & gpio); -+ au1xxx_gpio1_write(gpio, value); - return 0; - } - |