ar71xx: use netgear prefix for WNR612 v2 LED names
authorGabor Juhos <juhosg@openwrt.org>
Sat, 21 Sep 2013 15:55:54 +0000 (15:55 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sat, 21 Sep 2013 15:55:54 +0000 (15:55 +0000)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38101

target/linux/ar71xx/base-files/etc/diag.sh
target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration
target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v3.c

index fee2f823fad8c15ee44cb38c4d369775fd083408..14f8c9816a14f14d36554d1c7b214aa1777fb9d7 100755 (executable)
@@ -183,7 +183,7 @@ get_status_led() {
                status_led="netgear:amber:power"
                ;;
        wnr612-v2)
-               status_led="wnr612v2:green:power"
+               status_led="netgear:green:power"
                ;;
        wp543)
                status_led="wp543:green:diag"
index 3b53f6e0312f8b447086b67225c9fe357952b6b5..9806aefeaf28d5a03562390bd37f87deac1b5874 100755 (executable)
@@ -58,6 +58,10 @@ wnr2200)
        migrate_leds "wnr2200:=netgear:"
        ;;
 
+wnr612-v2)
+       migrate_leds "wnr612v2:=netgear:"
+       ;;
+
 *)
        ;;
 esac
index 4669cebdea30ae0800644aad1de2c402141384dc..6acd991eb6e936e0715fe8857fda61daeb3cd6f8 100644 (file)
@@ -52,7 +52,7 @@ static struct gpio_led wnr2000v3_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,
                .active_low     = 1,
        }