aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-10-06 04:52:36 +0000
committerJohn Crispin <john@openwrt.org>2014-10-06 04:52:36 +0000
commitd76b7e0221ea556545a046aea871a1f42af6c6a1 (patch)
tree61947847153f4896044129ddef12dafde9b7c69f
parent98114e7cddba97b214e92b395d210bbdd65a4f19 (diff)
downloadupstream-d76b7e0221ea556545a046aea871a1f42af6c6a1.tar.gz
upstream-d76b7e0221ea556545a046aea871a1f42af6c6a1.tar.bz2
upstream-d76b7e0221ea556545a046aea871a1f42af6c6a1.zip
ramips: D-Link DIR-810L: make led naming consistent with other boards
Signed-off-by: Michael Heimpold <mhei@heimpold.de> SVN-Revision: 42789
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds2
-rw-r--r--target/linux/ramips/dts/DIR-810L.dts8
2 files changed, 5 insertions, 5 deletions
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>;
};
};