aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-10-06 04:52:36 +0000
committerJohn Crispin <blogic@openwrt.org>2014-10-06 04:52:36 +0000
commit23246db9e0fb2caa7fc1dae86292aa6f0cbccd85 (patch)
treea45d9ecbd9a25d76638bf4767ced0d39caefffc5
parent16c7f3c21ed006a13affd3696b269552dafe414c (diff)
downloadmaster-187ad058-23246db9e0fb2caa7fc1dae86292aa6f0cbccd85.tar.gz
master-187ad058-23246db9e0fb2caa7fc1dae86292aa6f0cbccd85.tar.bz2
master-187ad058-23246db9e0fb2caa7fc1dae86292aa6f0cbccd85.zip
ramips: D-Link DIR-810L: make led naming consistent with other boards
Signed-off-by: Michael Heimpold <mhei@heimpold.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42789 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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>;
};
};