summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-12-19 09:04:15 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-12-19 09:04:15 +0000
commit11013ad94738bd1c7d1e237bc8b2b94928ec52bb (patch)
tree2ca035028faf4fe726f652a6670c6cdf8c971d19
parent0cc056cb7eb02798531f532e0a2c9cf5f28a6a49 (diff)
downloadmtk-20170518-11013ad94738bd1c7d1e237bc8b2b94928ec52bb.zip
mtk-20170518-11013ad94738bd1c7d1e237bc8b2b94928ec52bb.tar.gz
mtk-20170518-11013ad94738bd1c7d1e237bc8b2b94928ec52bb.tar.bz2
ar71xx: add missing wireless led changes for wzr-hp-g300nh2
SVN-Revision: 29568
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-wzr-hp-g300nh2.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wzr-hp-g300nh2.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wzr-hp-g300nh2.c
index ef9923f..3da1440 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wzr-hp-g300nh2.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wzr-hp-g300nh2.c
@@ -94,11 +94,6 @@ static struct gpio_led wzrhpg300nh2_wmac_leds_gpio[] = {
.active_low = 1,
},
{
- .name = "buffalo:green:wireless",
- .gpio = 5,
- .active_low = 1,
- },
- {
.name = "buffalo:orange:security",
.gpio = 6,
.active_low = 1,
@@ -183,7 +178,7 @@ static void __init wzrhpg300nh2_setup(void)
ar71xx_register_gpio_keys_polled(-1, WZRHPG300NH2_KEYS_POLL_INTERVAL,
ARRAY_SIZE(wzrhpg300nh2_gpio_keys),
wzrhpg300nh2_gpio_keys);
- ap91_pci_setup_wmac_led_pin(22);
+ ap91_pci_setup_wmac_led_pin(5);
ap91_pci_setup_wmac_leds(wzrhpg300nh2_wmac_leds_gpio,
ARRAY_SIZE(wzrhpg300nh2_wmac_leds_gpio));