X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/86a107e5443812428723192711f8def571f83aa9..25e2b28f3cf0738d5fa5f23b88edbcfc7faf3b3e:/target/linux/brcm47xx/patches-3.0/040-bcm47xx-add-gpio_set_debounce.patch diff --git a/target/linux/brcm47xx/patches-3.0/040-bcm47xx-add-gpio_set_debounce.patch b/target/linux/brcm47xx/patches-3.0/040-bcm47xx-add-gpio_set_debounce.patch index 32593908d..2bc7718c3 100644 --- a/target/linux/brcm47xx/patches-3.0/040-bcm47xx-add-gpio_set_debounce.patch +++ b/target/linux/brcm47xx/patches-3.0/040-bcm47xx-add-gpio_set_debounce.patch @@ -1,7 +1,7 @@ --- a/arch/mips/include/asm/mach-bcm47xx/gpio.h +++ b/arch/mips/include/asm/mach-bcm47xx/gpio.h -@@ -58,6 +58,10 @@ static inline int gpio_polarity(unsigned - return 0; +@@ -136,6 +136,10 @@ static inline int gpio_polarity(unsigned + return -EINVAL; } +static inline int gpio_set_debounce(unsigned gpio, unsigned debounce)