aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files
diff options
context:
space:
mode:
authorAndreas Ziegler <dev@andreas-ziegler.de>2019-02-25 01:19:59 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2019-02-26 23:20:04 +0100
commit53c46b504c630e4c9c5a00bf644a69919bfc0c03 (patch)
tree79da57774dbee054362e1313d380ac9f7b4aa4da /target/linux/ar71xx/files
parentba249bc955419f3d0a943ea3a111ece1624a9291 (diff)
downloadupstream-53c46b504c630e4c9c5a00bf644a69919bfc0c03.tar.gz
upstream-53c46b504c630e4c9c5a00bf644a69919bfc0c03.tar.bz2
upstream-53c46b504c630e4c9c5a00bf644a69919bfc0c03.zip
ar71xx: GL.iNet AR300M family: correct LED definitions
remove USB as this is no LED but power control rename WiFi LED with correct color red (like in stock firmware) set middle LED to be used for LAN link/activity Signed-off-by: Andreas Ziegler <dev@andreas-ziegler.de>
Diffstat (limited to 'target/linux/ar71xx/files')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300m.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300m.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300m.c
index 2a2d2702bc..d10a910129 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300m.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300m.c
@@ -29,7 +29,6 @@
#include "machtypes.h"
#include "pci.h"
-#define GL_AR300M_GPIO_LED_USB 2
#define GL_AR300M_GPIO_LED_WLAN 14
#define GL_AR300M_GPIO_LED_LAN 13
#define GL_AR300M_GPIO_LED_SYSTEM 12
@@ -47,13 +46,7 @@
static struct gpio_led gl_ar300m_leds_gpio[] __initdata = {
{
- .name = "gl-ar300m:green:usb",
- .gpio = GL_AR300M_GPIO_LED_USB,
- .active_low = 0,
- .default_state = 1,
- },
- {
- .name = "gl-ar300m:green:wlan",
+ .name = "gl-ar300m:red:wlan",
.gpio = GL_AR300M_GPIO_LED_WLAN,
.active_low = 1,
},