From 6c937df749c700f218e8dd4536043a190c19f1d2 Mon Sep 17 00:00:00 2001 From: "Leon M. George" Date: Fri, 24 Mar 2017 12:18:57 +0100 Subject: [PATCH] ar71xx: wpj531: fix GPIOs for LED /sys/devices/platform/leds-gpio/leds/ was not initialised with working LEDs. Signed-off-by: Leon M. George --- target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c index 8a238da7d59..df817dac910 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c @@ -35,10 +35,10 @@ #include "dev-wmac.h" #include "machtypes.h" -#define WPJ531_GPIO_LED_SIG1 14 -#define WPJ531_GPIO_LED_SIG2 15 -#define WPJ531_GPIO_LED_SIG3 22 -#define WPJ531_GPIO_LED_SIG4 23 +#define WPJ531_GPIO_LED_SIG1 13 +#define WPJ531_GPIO_LED_SIG2 14 +#define WPJ531_GPIO_LED_SIG3 15 +#define WPJ531_GPIO_LED_SIG4 16 #define WPJ531_GPIO_BUZZER 4 #define WPJ531_GPIO_BTN_RESET 17 -- 2.30.2