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 | 40219e9bf4bb6d5cdaa87b40daad43428573c9e2 (patch) | |
tree | e3fcd6ea9f8559696f38bd0d92d0f07c1c779429 /target/linux/ar71xx/files | |
parent | cd2416e6ea0660bd93b051fa14aadfb3ad5f5f64 (diff) | |
download | mtk-20170518-40219e9bf4bb6d5cdaa87b40daad43428573c9e2.zip mtk-20170518-40219e9bf4bb6d5cdaa87b40daad43428573c9e2.tar.gz mtk-20170518-40219e9bf4bb6d5cdaa87b40daad43428573c9e2.tar.bz2 |
ar71xx: fix bi-color led on the TL-WR841N v1.5
SVN-Revision: 18926
Diffstat (limited to 'target/linux/ar71xx/files')
-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 72d5acc..d798070 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, } }; |