From: juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Fri, 19 Feb 2010 11:52:19 +0000 (+0000)
Subject: ar71xx: add missing GPIO LED for the WNDR3700 board
X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/cadd5454c39595036afa174d088af01a3a857d1a

ar71xx: add missing GPIO LED for the WNDR3700 board

Signed-off-by: Scott Dudley <spmsink@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19744 3c298f89-4303-0410-b956-a3cf2f4a3e73
---

diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wndr3700.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wndr3700.c
index c625fc980..3dd97789a 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wndr3700.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wndr3700.c
@@ -29,6 +29,7 @@
 #define WNDR3700_GPIO_LED_POWER_ORANGE	1
 #define WNDR3700_GPIO_LED_POWER_GREEN	2
 #define WNDR3700_GPIO_LED_WPS_GREEN	4
+#define WNDR3700_GPIO_LED_WAN_GREEN	6
 
 #define WNDR3700_GPIO_BTN_WPS		3
 #define WNDR3700_GPIO_BTN_RESET		8
@@ -118,6 +119,10 @@ static struct gpio_led wndr3700_leds_gpio[] __initdata = {
 		.name		= "wndr3700:orange:wps",
 		.gpio		= WNDR3700_GPIO_LED_WPS_ORANGE,
 		.active_low	= 1,
+	}, {
+		.name		= "wndr3700:green:wan",
+		.gpio		= WNDR3700_GPIO_LED_WAN_GREEN,
+		.active_low	= 1,
 	}
 };