X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/365590ad71a126eaf9a2ba6a679c37b1b7032d76..dc79249b1b34785a26444c60e5515608330817ec:/target/linux/au1000/patches/017-gpio-dir.patch diff --git a/target/linux/au1000/patches/017-gpio-dir.patch b/target/linux/au1000/patches/017-gpio-dir.patch index c499d38e7..5ae819ee1 100644 --- a/target/linux/au1000/patches/017-gpio-dir.patch +++ b/target/linux/au1000/patches/017-gpio-dir.patch @@ -1,6 +1,6 @@ ---- linux-2.6.25.16/arch/mips/au1000/common/gpio.c.org 2008-09-04 22:32:12.000000000 +0200 -+++ linux-2.6.25.16/arch/mips/au1000/common/gpio.c 2008-09-04 23:10:18.000000000 +0200 -@@ -66,7 +66,8 @@ +--- 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; @@ -10,7 +10,7 @@ return 0; } -@@ -95,6 +96,7 @@ +@@ -95,6 +96,7 @@ static int au1xxx_gpio1_direction_input( static int au1xxx_gpio1_direction_output(unsigned gpio, int value) { gpio1->trioutclr = (0x01 & gpio);