aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-10-06 04:51:51 +0000
committerJohn Crispin <blogic@openwrt.org>2014-10-06 04:51:51 +0000
commit5416fbe6e010109c808e676c27a8a40beed1ffd2 (patch)
treeae8a8051a3424adc26e2d6fb3aa398f885bc5548 /target/linux/ar71xx/files/arch
parentf53447947d209ced026ffd784104db6e9647c676 (diff)
downloadupstream-5416fbe6e010109c808e676c27a8a40beed1ffd2.tar.gz
upstream-5416fbe6e010109c808e676c27a8a40beed1ffd2.tar.bz2
upstream-5416fbe6e010109c808e676c27a8a40beed1ffd2.zip
ar71xx: fix reset button gpio for OM2P/OM2P-HS
A typo in the definition for the OM2P reset button disabled its functionality in OpenWrt. The actual button for these two devices is "1" and not "11". Signed-off-by: Oren Poleg <oren@poleg.org> [sven@open-mesh.org: added a commit subject+message] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42782 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/arch')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c
index 24f4527fb3..6b0bdc3dcd 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c
@@ -31,7 +31,7 @@
#define OM2P_GPIO_LED_YELLOW 15
#define OM2P_GPIO_LED_LAN 16
#define OM2P_GPIO_LED_WAN 17
-#define OM2P_GPIO_BTN_RESET 11
+#define OM2P_GPIO_BTN_RESET 1
#define OM2P_KEYS_POLL_INTERVAL 20 /* msecs */
#define OM2P_KEYS_DEBOUNCE_INTERVAL (3 * OM2P_KEYS_POLL_INTERVAL)