From: Leon M. George Date: Fri, 24 Mar 2017 11:18:57 +0000 (+0100) Subject: ar71xx: wpj531: fix GPIOs for LED X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=6c937df749c7;p=openwrt%2Fstaging%2Fjogo.git ar71xx: wpj531: fix GPIOs for LED /sys/devices/platform/leds-gpio/leds/ was not initialised with working LEDs. Signed-off-by: Leon M. George --- 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 8a238da7d5..df817dac91 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