From: Felix Fietkau Date: Mon, 19 Dec 2011 09:04:15 +0000 (+0000) Subject: ar71xx: add missing wireless led changes for wzr-hp-g300nh2 X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=7e96983fe143be1bf34827ae4f7257ccd991fe12;p=15.05%2Fopenwrt.git ar71xx: add missing wireless led changes for wzr-hp-g300nh2 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29568 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 ef9923fdde..3da144057b 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));