From 14f0acdc28029cf1766e115ab73231adcdbe1923 Mon Sep 17 00:00:00 2001 From: hauke Date: Thu, 3 May 2012 20:18:41 +0000 Subject: brcm47xx: add support for kernel 3.3 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31573 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../patches-3.3/140-bcm47xx-add-gpio_set_debounce.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 target/linux/brcm47xx/patches-3.3/140-bcm47xx-add-gpio_set_debounce.patch (limited to 'target/linux/brcm47xx/patches-3.3/140-bcm47xx-add-gpio_set_debounce.patch') diff --git a/target/linux/brcm47xx/patches-3.3/140-bcm47xx-add-gpio_set_debounce.patch b/target/linux/brcm47xx/patches-3.3/140-bcm47xx-add-gpio_set_debounce.patch new file mode 100644 index 000000000..c37bb13d1 --- /dev/null +++ b/target/linux/brcm47xx/patches-3.3/140-bcm47xx-add-gpio_set_debounce.patch @@ -0,0 +1,12 @@ +--- a/arch/mips/include/asm/mach-bcm47xx/gpio.h ++++ b/arch/mips/include/asm/mach-bcm47xx/gpio.h +@@ -151,5 +151,9 @@ static inline int gpio_polarity(unsigned + return -EINVAL; + } + ++static inline int gpio_set_debounce(unsigned gpio, unsigned debounce) ++{ ++ return -ENOSYS; ++} + + #endif /* __BCM47XX_GPIO_H */ -- cgit v1.2.3