summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-01-01 19:40:04 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-01-01 19:40:04 +0000
commit953ff0cf43e7ec2f99479dd7e7a5d076e31f9c28 (patch)
tree4bc8ef5d10d822248323afbb374b9fb2676954a8 /target/linux/ar71xx/files
parentf8b7b8ee41a6f89a709796a29b2ba4713ebbfb87 (diff)
downloadmtk-20170518-953ff0cf43e7ec2f99479dd7e7a5d076e31f9c28.zip
mtk-20170518-953ff0cf43e7ec2f99479dd7e7a5d076e31f9c28.tar.gz
mtk-20170518-953ff0cf43e7ec2f99479dd7e7a5d076e31f9c28.tar.bz2
ar71xx: fix bi-color QSS LED on the TL-WR941ND v2 board
SVN-Revision: 18988
Diffstat (limited to 'target/linux/ar71xx/files')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr941nd.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr941nd.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr941nd.c
index af83116..0f4277e 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr941nd.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-wr941nd.c
@@ -1,7 +1,7 @@
/*
* TP-LINK TL-WR941ND board support
*
- * Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org>
+ * Copyright (C) 2009-2010 Gabor Juhos <juhosg@openwrt.org>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
@@ -22,7 +22,8 @@
#include "dev-leds-gpio.h"
#define TL_WR941ND_GPIO_LED_SYSTEM 2
-#define TL_WR941ND_GPIO_LED_QSS 5
+#define TL_WR941ND_GPIO_LED_QSS_RED 4
+#define TL_WR941ND_GPIO_LED_QSS_GREEN 5
#define TL_WR941ND_GPIO_BTN_RESET 3
#define TL_WR941ND_GPIO_BTN_QSS 7
@@ -71,8 +72,10 @@ static struct gpio_led tl_wr941nd_leds_gpio[] __initdata = {
.active_low = 1,
}, {
.name = "tl-wr941nd:red:qss",
- .gpio = TL_WR941ND_GPIO_LED_QSS,
- .active_low = 1,
+ .gpio = TL_WR941ND_GPIO_LED_QSS_RED,
+ }, {
+ .name = "tl-wr941nd:green:qss",
+ .gpio = TL_WR941ND_GPIO_LED_QSS_GREEN,
}
};