From 2a33b25641c642780c9f9d8cd873efeefe5c4135 Mon Sep 17 00:00:00 2001 From: juhosg Date: Mon, 11 Mar 2013 20:24:46 +0000 Subject: [PATCH] AA: ar71xx: om2p-hs: use correct bit mask to disable JTAG functionality Backport of r35966. Signed-off-by: Gabor Juhos git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35968 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 f616527..8adac0f 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; -- 2.11.0