aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/patches-2.6.37/100-board.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-03-06 23:10:58 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-03-06 23:10:58 +0000
commit283f5e05d02e299bb6d21269d835798715214654 (patch)
tree38f758c8fa6fcbcc7559f00f910a4a9f1d057b08 /target/linux/atheros/patches-2.6.37/100-board.patch
parent218ce7a205c034e2aadba037920311e5b8246cb5 (diff)
downloadupstream-283f5e05d02e299bb6d21269d835798715214654.tar.gz
upstream-283f5e05d02e299bb6d21269d835798715214654.tar.bz2
upstream-283f5e05d02e299bb6d21269d835798715214654.zip
atheros: add gpio_set_debounce(), refresh patches
SVN-Revision: 25914
Diffstat (limited to 'target/linux/atheros/patches-2.6.37/100-board.patch')
-rw-r--r--target/linux/atheros/patches-2.6.37/100-board.patch11
1 files changed, 8 insertions, 3 deletions
diff --git a/target/linux/atheros/patches-2.6.37/100-board.patch b/target/linux/atheros/patches-2.6.37/100-board.patch
index 1cf355fb0b..a30f5fe858 100644
--- a/target/linux/atheros/patches-2.6.37/100-board.patch
+++ b/target/linux/atheros/patches-2.6.37/100-board.patch
@@ -1,6 +1,6 @@
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
-@@ -100,6 +100,19 @@ config BCM63XX
+@@ -102,6 +102,19 @@ config BCM63XX
help
Support for BCM63XX based boards
@@ -20,7 +20,7 @@
config MIPS_COBALT
bool "Cobalt Server"
select CEVT_R4K
-@@ -714,6 +727,7 @@ config CAVIUM_OCTEON_REFERENCE_BOARD
+@@ -716,6 +729,7 @@ config CAVIUM_OCTEON_REFERENCE_BOARD
endchoice
@@ -619,7 +619,7 @@
+#endif /* __ASM_MACH_GENERIC_DMA_COHERENCE_H */
--- /dev/null
+++ b/arch/mips/include/asm/mach-ar231x/gpio.h
-@@ -0,0 +1,79 @@
+@@ -0,0 +1,84 @@
+#ifndef _ATHEROS_GPIO_H_
+#define _ATHEROS_GPIO_H_
+
@@ -696,6 +696,11 @@
+ return (irq - (AR531X_GPIO_IRQ(0)));
+}
+
++static inline int gpio_set_debounce(unsigned gpio, unsigned debounce)
++{
++ return -ENOSYS;
++}
++
+#include <asm-generic/gpio.h> /* cansleep wrappers */
+
+#endif