From: John Crispin Date: Mon, 6 Oct 2014 04:52:36 +0000 (+0000) Subject: ramips: D-Link DIR-810L: make led naming consistent with other boards X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d76b7e0221ea556545a046aea871a1f42af6c6a1;p=openwrt%2Fstaging%2Fldir.git ramips: D-Link DIR-810L: make led naming consistent with other boards Signed-off-by: Michael Heimpold SVN-Revision: 42789 --- diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds index ecaaaff764..b07c96af31 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -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 |\ diff --git a/target/linux/ramips/dts/DIR-810L.dts b/target/linux/ramips/dts/DIR-810L.dts index 5dd8859916..dd0d39c562 100644 --- a/target/linux/ramips/dts/DIR-810L.dts +++ b/target/linux/ramips/dts/DIR-810L.dts @@ -117,15 +117,15 @@ 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>; }; };