aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files-3.2
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-01-24 18:40:38 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-01-24 18:40:38 +0000
commit095c236694bb37a92f9f0f714211b088024aba28 (patch)
tree3ace227554d23ab644b93c7a451507458848219d /target/linux/ar71xx/files-3.2
parent23e1b451dcf8ad458d43166e7813ba6ab1a7a33d (diff)
downloadupstream-095c236694bb37a92f9f0f714211b088024aba28.tar.gz
upstream-095c236694bb37a92f9f0f714211b088024aba28.tar.bz2
upstream-095c236694bb37a92f9f0f714211b088024aba28.zip
ar71xx: fix the AP/Router LED definitons on MZK-W300NH
SVN-Revision: 29897
Diffstat (limited to 'target/linux/ar71xx/files-3.2')
-rw-r--r--target/linux/ar71xx/files-3.2/arch/mips/ath79/mach-mzk-w300nh.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/target/linux/ar71xx/files-3.2/arch/mips/ath79/mach-mzk-w300nh.c b/target/linux/ar71xx/files-3.2/arch/mips/ath79/mach-mzk-w300nh.c
index 4ff19e8841..8c40365283 100644
--- a/target/linux/ar71xx/files-3.2/arch/mips/ath79/mach-mzk-w300nh.c
+++ b/target/linux/ar71xx/files-3.2/arch/mips/ath79/mach-mzk-w300nh.c
@@ -21,8 +21,8 @@
#define MZK_W300NH_GPIO_LED_STATUS 1
#define MZK_W300NH_GPIO_LED_WPS 3
#define MZK_W300NH_GPIO_LED_WLAN 6
-#define MZK_W300NH_GPIO_LED_AP 15
-#define MZK_W300NH_GPIO_LED_ROUTER 16
+#define MZK_W300NH_GPIO_LED_AP_GREEN 15
+#define MZK_W300NH_GPIO_LED_AP_AMBER 16
#define MZK_W300NH_GPIO_BTN_APROUTER 5
#define MZK_W300NH_GPIO_BTN_WPS 12
@@ -45,13 +45,11 @@ static struct gpio_led mzk_w300nh_leds_gpio[] __initdata = {
.gpio = MZK_W300NH_GPIO_LED_WLAN,
.active_low = 1,
}, {
- .name = "planex:green:ap",
- .gpio = MZK_W300NH_GPIO_LED_AP,
- .active_low = 1,
+ .name = "planex:green:aprouter",
+ .gpio = MZK_W300NH_GPIO_LED_AP_GREEN,
}, {
- .name = "planex:green:router",
- .gpio = MZK_W300NH_GPIO_LED_ROUTER,
- .active_low = 1,
+ .name = "planex:amber:aprouter",
+ .gpio = MZK_W300NH_GPIO_LED_AP_AMBER,
}
};