[OpenWrt-Devel] [PATCH] Hame: change LED name mpr-x -> hame
Cezary Jackiewicz
cezary.jackiewicz at gmail.com
Wed Aug 13 17:23:44 EDT 2014
Change LED name mpr-x -> hame
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz at gmail.com>
---
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 4aac473..9ad7ccb 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -80,10 +80,10 @@ get_status_led() {
status_led="mofi3500-3gn:green:status"
;;
mpr-a1)
- status_led="mpr-a1:red:power"
+ status_led="hame:red:power"
;;
mpr-a2)
- status_led="mpr-a2:red:power"
+ status_led="hame:red:power"
;;
nbg-419n)
status_led="nbg-419n:green:power"
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/01_leds b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
index 0020729..3474b99 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
@@ -121,10 +121,10 @@ case $board in
set_usb_led "mofi3500-3gn:green:usb"
;;
mpr-a1)
- set_wifi_led "mpr-a1:blue:system"
+ set_wifi_led "hame:blue:system"
;;
mpr-a2)
- set_wifi_led "mpr-a2:blue:system"
+ set_wifi_led "hame:blue:system"
;;
mzk-w300nh2)
set_wifi_led "mzkw300nh2:amber:wlan"
diff --git a/target/linux/ramips/dts/MPRA1.dts b/target/linux/ramips/dts/MPRA1.dts
index 9b4ee34..af6d82b 100644
--- a/target/linux/ramips/dts/MPRA1.dts
+++ b/target/linux/ramips/dts/MPRA1.dts
@@ -75,11 +75,11 @@
gpio-leds {
compatible = "gpio-leds";
system {
- label = "mpr-a1:blue:system";
+ label = "hame:blue:system";
gpios = <&gpio0 20 1>;
};
power {
- label = "mpr-a1:red:power";
+ label = "hame:red:power";
gpios = <&gpio0 17 1>;
};
};
diff --git a/target/linux/ramips/dts/MPRA2.dts b/target/linux/ramips/dts/MPRA2.dts
index 56d6f51..4f5e1c3 100644
--- a/target/linux/ramips/dts/MPRA2.dts
+++ b/target/linux/ramips/dts/MPRA2.dts
@@ -75,11 +75,11 @@
gpio-leds {
compatible = "gpio-leds";
system {
- label = "mpr-a2:blue:system";
+ label = "hame:blue:system";
gpios = <&gpio0 20 1>;
};
power {
- label = "mpr-a2:red:power";
+ label = "hame:red:power";
gpios = <&gpio0 17 1>;
};
};
--
Pozdrawiam,
Cezary Jackiewicz
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list