1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 08:13:20 +02:00

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
This commit is contained in:
nbd 2011-12-19 09:04:15 +00:00
parent cdf64b5cdc
commit eaf9c95caf

View File

@ -93,11 +93,6 @@ static struct gpio_led wzrhpg300nh2_wmac_leds_gpio[] = {
.gpio = 4, .gpio = 4,
.active_low = 1, .active_low = 1,
}, },
{
.name = "buffalo:green:wireless",
.gpio = 5,
.active_low = 1,
},
{ {
.name = "buffalo:orange:security", .name = "buffalo:orange:security",
.gpio = 6, .gpio = 6,
@ -183,7 +178,7 @@ static void __init wzrhpg300nh2_setup(void)
ar71xx_register_gpio_keys_polled(-1, WZRHPG300NH2_KEYS_POLL_INTERVAL, ar71xx_register_gpio_keys_polled(-1, WZRHPG300NH2_KEYS_POLL_INTERVAL,
ARRAY_SIZE(wzrhpg300nh2_gpio_keys), ARRAY_SIZE(wzrhpg300nh2_gpio_keys),
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, ap91_pci_setup_wmac_leds(wzrhpg300nh2_wmac_leds_gpio,
ARRAY_SIZE(wzrhpg300nh2_wmac_leds_gpio)); ARRAY_SIZE(wzrhpg300nh2_wmac_leds_gpio));