From: John Crispin Date: Fri, 14 Nov 2014 16:58:29 +0000 (+0000) Subject: ar71xx: Fix the sys LEDs on the EasyLink M150 and mini X-Git-Tag: reboot~5343 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6fafcba63be3c8553e528a093da8bb1686a4fee5;p=oweals%2Fopenwrt.git 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 SVN-Revision: 43271 --- 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, },