From 080061c1ba61805974aed22dbf59438da329e5ea Mon Sep 17 00:00:00 2001
From: Paul Wassi
Date: Tue, 24 Oct 2017 14:23:58 +0200
Subject: ar71xx: fix LED names for GL-AR150
Add the respective colour to the LED's names for the GL-AR150 to be conform
to the kernel. Also add netdev triggers for the LAN and WAN LED.
Signed-off-by: Paul Wassi
---
target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar150.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'target/linux/ar71xx/files/arch/mips/ath79')
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar150.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar150.c
index e0d1ea4381..df52784919 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar150.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar150.c
@@ -42,17 +42,17 @@
static struct gpio_led gl_ar150_leds_gpio[] __initdata = {
{
- .name = "gl-ar150:wlan",
+ .name = "gl-ar150:orange:wlan",
.gpio = GL_AR150_GPIO_LED_WLAN,
.active_low = 0,
},
{
- .name = "gl-ar150:lan",
+ .name = "gl-ar150:green:lan",
.gpio = GL_AR150_GPIO_LED_LAN,
.active_low = 0,
},
{
- .name = "gl-ar150:wan",
+ .name = "gl-ar150:green:wan",
.gpio = GL_AR150_GPIO_LED_WAN,
.active_low = 0,
.default_state = 1,
--
cgit v1.2.3