ar71xx: use netgear prefix for WNDAP360 LED names

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38102
This commit is contained in:
Gabor Juhos 2013-09-21 15:55:55 +00:00
parent d0fe16cedf
commit 0a813e9e3c
4 changed files with 8 additions and 4 deletions

View file

@ -168,7 +168,7 @@ get_status_led() {
status_led="buffalo:red:diag"
;;
wndap360)
status_led="wndap360:green:power"
status_led="netgear:green:power"
;;
wndr3700)
status_led="netgear:green:power"

View file

@ -225,7 +225,7 @@ wrt160nl)
;;
wndap360)
ucidef_set_led_power "power" "POWER GREEN" "wndap360:green:power" "1"
ucidef_set_led_power "power" "POWER GREEN" "netgear:green:power" "1"
;;
wndr3700)

View file

@ -46,6 +46,10 @@ migrate_leds()
board=$(ar71xx_board_name)
case "$board" in
wndap360)
migrate_leds "wndap360:=netgear:"
;;
wndr3700)
migrate_leds "wndr3700:=netgear:"
;;

View file

@ -46,11 +46,11 @@
*/
static struct gpio_led wndap360_leds_gpio[] __initdata = {
{
.name = "wndap360:green:power",
.name = "netgear:green:power",
.gpio = WNDAP360_GPIO_LED_POWER_GREEN,
.active_low = 1,
}, {
.name = "wndap360:orange:power",
.name = "netgear:orange:power",
.gpio = WNDAP360_GPIO_LED_POWER_ORANGE,
.active_low = 1,
}