ar71xx: use netgear prefix for WNR612 v2 LED names

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

SVN-Revision: 38101
master
Gabor Juhos 11 years ago
parent ae7d14f701
commit d0fe16cedf
  1. 2
      target/linux/ar71xx/base-files/etc/diag.sh
  2. 4
      target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration
  3. 2
      target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v3.c

@ -183,7 +183,7 @@ get_status_led() {
status_led="netgear:amber:power" status_led="netgear:amber:power"
;; ;;
wnr612-v2) wnr612-v2)
status_led="wnr612v2:green:power" status_led="netgear:green:power"
;; ;;
wp543) wp543)
status_led="wp543:green:diag" status_led="wp543:green:diag"

@ -58,6 +58,10 @@ wnr2200)
migrate_leds "wnr2200:=netgear:" migrate_leds "wnr2200:=netgear:"
;; ;;
wnr612-v2)
migrate_leds "wnr612v2:=netgear:"
;;
*) *)
;; ;;
esac esac

@ -52,7 +52,7 @@ static struct gpio_led wnr2000v3_leds_gpio[] __initdata = {
static struct gpio_led wnr612v2_leds_gpio[] __initdata = { static struct gpio_led wnr612v2_leds_gpio[] __initdata = {
{ {
.name = "wnr612v2:green:power", .name = "netgear:green:power",
.gpio = WNR612V2_GPIO_LED_PWR_GREEN, .gpio = WNR612V2_GPIO_LED_PWR_GREEN,
.active_low = 1, .active_low = 1,
} }

Loading…
Cancel
Save