From 68ac3bdb4c12ad20279b3a28beaa1b5f7d06db15 Mon Sep 17 00:00:00 2001 From: juhosg Date: Fri, 25 Dec 2009 10:06:25 +0000 Subject: ar71xx: fix bi-color led on the TL-WR841N v1.5 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18926 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr841n.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'target/linux/ar71xx/files') diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr841n.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr841n.c index 72d5acc4b..d798070fd 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr841n.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr841n.c @@ -21,8 +21,9 @@ #include "dev-m25p80.h" #include "dev-ar913x-wmac.h" -#define TL_WR841ND_V1_GPIO_LED_SYSTEM 2 -#define TL_WR841ND_V1_GPIO_LED_QSS 5 +#define TL_WR841ND_V1_GPIO_LED_SYSTEM 2 +#define TL_WR841ND_V1_GPIO_LED_QSS_GREEN 4 +#define TL_WR841ND_V1_GPIO_LED_QSS_RED 5 #define TL_WR841ND_V1_GPIO_BTN_RESET 3 #define TL_WR841ND_V1_GPIO_BTN_QSS 7 @@ -87,8 +88,10 @@ static struct gpio_led tl_wr841n_v1_leds_gpio[] __initdata = { .active_low = 1, }, { .name = "tl-wr841n:red:qss", - .gpio = TL_WR841ND_V1_GPIO_LED_QSS, - .active_low = 1, + .gpio = TL_WR841ND_V1_GPIO_LED_QSS_RED, + }, { + .name = "tl-wr841n:green:qss", + .gpio = TL_WR841ND_V1_GPIO_LED_QSS_GREEN, } }; -- cgit v1.2.3