brcm47xx: add gpio_set_debounce function
SVN-Revision: 24968
This commit is contained in:
parent
253f4d82f2
commit
541bebf4ec
|
@ -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…
Reference in New Issue