ramips: D-Link DIR-810L: make led naming consistent with other boards
authorJohn Crispin <john@openwrt.org>
Mon, 6 Oct 2014 04:52:36 +0000 (04:52 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 6 Oct 2014 04:52:36 +0000 (04:52 +0000)
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
SVN-Revision: 42789

target/linux/ramips/base-files/etc/board.d/01_leds
target/linux/ramips/dts/DIR-810L.dts

index ecaaaff764af6983a618e9902a4e426c518e8c59..b07c96af310744fa1b9a0f04e5f47e097eaadd33 100755 (executable)
@@ -91,7 +91,7 @@ case $board in
                set_wifi_led "d-link:green:wifi"
                ;;
        dir-810l)
-               ucidef_set_led_default "power" "POWER" "dlink:power:green" "1"
+               ucidef_set_led_default "power" "POWER" "d-link:green:power" "1"
                ;;
        dir-610-a1 |\
        dir-300-b7 |\
index 5dd8859916ee8b5742367a50ed8553e3491ef8f3..dd0d39c562af1b6dc84e4ea9582f90a5990ff630 100644 (file)
        gpio-leds {
                compatible = "gpio-leds";
                power {
-                       label = "dlink:power:green";
+                       label = "d-link:green:power";
                        gpios = <&gpio0 9 0>;
                };
-               internet {
-                       label = "dlink:internet:orange";
+               wan {
+                       label = "d-link:orange:wan";
                        gpios = <&gpio0 12 0>;
                };
                status {
-                       label = "dlink:power:orange";
+                       label = "d-link:orange:power";
                        gpios = <&gpio0 13 0>;
                };
        };