ar71xx: use netgear prefix for WNDAP360 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38102
This commit is contained in:
parent
d0fe16cedf
commit
0a813e9e3c
@ -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"
|
||||
|
@ -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)
|
||||
|
@ -46,6 +46,10 @@ migrate_leds()
|
||||
board=$(ar71xx_board_name)
|
||||
|
||||
case "$board" in
|
||||
wndap360)
|
||||
migrate_leds "wndap360:=netgear:"
|
||||
;;
|
||||
|
||||
wndr3700)
|
||||
migrate_leds "wndr3700:=netgear:"
|
||||
;;
|
||||
|
@ -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,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user