diff options
author | John Crispin <blogic@openwrt.org> | 2016-04-01 07:12:03 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2016-04-01 07:12:03 +0000 |
commit | 6b246cdb94cc050239e1954eb8027f1fdf0a15c2 (patch) | |
tree | a435a493bd4c8802e33e1c32ab9025892a62a481 /target/linux/ar71xx/files | |
parent | 355aae939cb5cc27ad3f2071641b2fb7cf6807ef (diff) | |
download | master-187ad058-6b246cdb94cc050239e1954eb8027f1fdf0a15c2.tar.gz master-187ad058-6b246cdb94cc050239e1954eb8027f1fdf0a15c2.tar.bz2 master-187ad058-6b246cdb94cc050239e1954eb8027f1fdf0a15c2.zip |
ar71xx: WPN824N: set WLAN LED name
Make use of ap9x_pci_setup_wmac_led_name() to set the name of the WLAN
LED.
Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49108 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v3.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v3.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v3.c index 8f585fb74b..1fea5efcad 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v3.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v3.c @@ -173,7 +173,7 @@ static struct gpio_led wnr2000v3_wmac_leds_gpio[] = { } }; -/* Blue WLAN LED for: WNR2000v3, WNR1000v2 */ +/* Blue WLAN LED for: WNR2000v3, WNR1000v2, WPN824N */ static const char *wnr2000v3_wmac_led_name = "netgear:blue:wlan"; static struct gpio_led wnr612v2_leds_gpio[] __initdata = { @@ -312,10 +312,6 @@ static struct gpio_led wpn824n_wmac_leds_gpio[] = { .gpio = WPN824N_WGPIO_LED_PWR_GREEN, .active_low = 1, }, { - .name = "netgear:blue:wlan", - .gpio = WPN824N_WGPIO_LED_WLAN_BLUE, - .active_low = 1, - }, { .name = "netgear:blue:wps1", .gpio = WPN824N_WGPIO_LED_WPS1_BLUE, .active_low = 1, @@ -604,6 +600,7 @@ static void __init wpn824n_setup(void) wpn824n_leds_gpio); ap9x_pci_setup_wmac_led_pin(0, WPN824N_WGPIO_LED_WLAN_BLUE); + ap9x_pci_setup_wmac_led_name(0, wnr2000v3_wmac_led_name); ap9x_pci_setup_wmac_leds(0, wpn824n_wmac_leds_gpio, ARRAY_SIZE(wpn824n_wmac_leds_gpio)); } |