brcm47xx: add gpio_set_debounce function

SVN-Revision: 24968
master
Gabor Juhos 14 years ago
parent 253f4d82f2
commit 541bebf4ec
  1. 13
      target/linux/brcm47xx/patches-2.6.36/040-bcm47xx-add-gpio_set_debounce.patch
  2. 13
      target/linux/brcm47xx/patches-2.6.37/040-bcm47xx-add-gpio_set_debounce.patch

@ -0,0 +1,13 @@
--- 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;
}
+static inline int gpio_set_debounce(unsigned gpio, unsigned debounce)
+{
+ return -ENOSYS;
+}
/* cansleep wrappers */
#include <asm-generic/gpio.h>

@ -0,0 +1,13 @@
--- 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;
}
+static inline int gpio_set_debounce(unsigned gpio, unsigned debounce)
+{
+ return -ENOSYS;
+}
/* cansleep wrappers */
#include <asm-generic/gpio.h>
Loading…
Cancel
Save