summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-11-14 16:58:29 +0000
committerJohn Crispin <john@openwrt.org>2014-11-14 16:58:29 +0000
commit6fafcba63be3c8553e528a093da8bb1686a4fee5 (patch)
treeb09f6938179d854e38da4871b58c49c0ed4e9fb7
parentb6f5713b3f5cf343c5ffd893976eaaa86253e03a (diff)
downloadmtk-20170518-6fafcba63be3c8553e528a093da8bb1686a4fee5.zip
mtk-20170518-6fafcba63be3c8553e528a093da8bb1686a4fee5.tar.gz
mtk-20170518-6fafcba63be3c8553e528a093da8bb1686a4fee5.tar.bz2
ar71xx: Fix the sys LEDs on the EasyLink M150 and mini
Sets the system LED on the EasyLink M150 and mini to lower-case "easylink" Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 43271
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/diag.sh2
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-el-m150.c2
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-el-mini.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh
index 2bb3304..8f9a1e6 100755
--- a/target/linux/ar71xx/base-files/etc/diag.sh
+++ b/target/linux/ar71xx/base-files/etc/diag.sh
@@ -73,7 +73,7 @@ get_status_led() {
;;
el-mini | \
el-m150)
- status_led="EasyLink:green:system"
+ status_led="easylink:green:system"
;;
gl-inet)
status_led="gl-connect:green:lan"
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-el-m150.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-el-m150.c
index 72a396d..b95d6c2 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-el-m150.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-el-m150.c
@@ -44,7 +44,7 @@ static struct flash_platform_data EL_M150_flash_data = {
static struct gpio_led EL_M150_leds_gpio[] __initdata = {
{
- .name = "ELINK:green:system",
+ .name = "easylink:green:system",
.gpio = EL_M150_GPIO_LED_SYSTEM,
.active_low = 1,
},
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-el-mini.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-el-mini.c
index aaccb0d..9879b18 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-el-mini.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-el-mini.c
@@ -40,7 +40,7 @@ static struct flash_platform_data mini_flash_data = {
static struct gpio_led mini_leds_gpio[] __initdata = {
{
- .name = "ELINK:green:system",
+ .name = "easylink:green:system",
.gpio = MINI_GPIO_LED_SYSTEM,
.active_low = 1,
},