From 1e3d1eb0031b468c979459e90bc6641aaf08091b Mon Sep 17 00:00:00 2001 From: John Crispin Date: Fri, 14 Nov 2014 16:58:29 +0000 Subject: [PATCH] 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43271 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/base-files/etc/diag.sh | 2 +- target/linux/ar71xx/files/arch/mips/ath79/mach-el-m150.c | 2 +- target/linux/ar71xx/files/arch/mips/ath79/mach-el-mini.c | 2 +- 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 2bb3304f32..8f9a1e6eb8 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 72a396d442..b95d6c2f68 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 aaccb0d257..9879b18f7c 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, },