diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-12-25 10:06:25 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-12-25 10:06:25 +0000 |
commit | 55e2c5200acdde8b27f5df9e2e2751a30784369e (patch) | |
tree | a4928ccaac030ddc3aad9093309c76eff2b1d1a3 /target/linux | |
parent | 695d0b4cedd9f45019cf9557ef2c925706437a2b (diff) | |
download | upstream-55e2c5200acdde8b27f5df9e2e2751a30784369e.tar.gz upstream-55e2c5200acdde8b27f5df9e2e2751a30784369e.tar.bz2 upstream-55e2c5200acdde8b27f5df9e2e2751a30784369e.zip |
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
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr841n.c | 11 |
1 files changed, 7 insertions, 4 deletions
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 72d5acc4b8..d798070fde 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, } }; |