aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-03-11 20:24:46 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-03-11 20:24:46 +0000
commit55f8c6df190d3740010523ba8aa8fe9a1a0e32e3 (patch)
tree4cbafa5eebd257ae405bc2d8bad27f2bdf299a7d
parent10be166b5c83fc232c1c53053a41afde377f7e77 (diff)
downloadupstream-55f8c6df190d3740010523ba8aa8fe9a1a0e32e3.tar.gz
upstream-55f8c6df190d3740010523ba8aa8fe9a1a0e32e3.tar.bz2
upstream-55f8c6df190d3740010523ba8aa8fe9a1a0e32e3.zip
AA: ar71xx: om2p-hs: use correct bit mask to disable JTAG functionality
Backport of r35966. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35968 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 f6165273d8..8adac0f65f 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c
@@ -187,7 +187,7 @@ static void __init om2p_hs_setup(void)
/* enable reset button */
ath79_gpio_output_select(OM2P_GPIO_BTN_RESET, AR934X_GPIO_OUT_GPIO);
- ath79_gpio_function_enable(AR933X_GPIO_FUNC_JTAG_DISABLE);
+ ath79_gpio_function_enable(AR934X_GPIO_FUNC_JTAG_DISABLE);
om2p_leds_gpio[4].gpio = OM2P_GPIO_LED_WAN;
om2p_leds_gpio[5].gpio = OM2P_GPIO_LED_LAN;