ar71xx: add missing wireless led changes for wzr-hp-g300nh2
authorFelix Fietkau <nbd@openwrt.org>
Mon, 19 Dec 2011 09:04:15 +0000 (09:04 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 19 Dec 2011 09:04:15 +0000 (09:04 +0000)
SVN-Revision: 29568

target/linux/ar71xx/files/arch/mips/ar71xx/mach-wzr-hp-g300nh2.c

index ef9923fddeec376f29209dbdafbd55a54024b0de..3da144057b55723df003ab4c504cc7409dc3a7d4 100644 (file)
@@ -93,11 +93,6 @@ static struct gpio_led wzrhpg300nh2_wmac_leds_gpio[] = {
                .gpio           = 4,
                .active_low     = 1,
        },
-       {
-               .name           = "buffalo:green:wireless",
-               .gpio           = 5,
-               .active_low     = 1,
-       },
        {
                .name           = "buffalo:orange:security",
                .gpio           = 6,
@@ -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));