From: Rafał Miłecki Date: Wed, 8 Apr 2015 04:46:27 +0000 (+0000) Subject: brcm47xx: reverse 2 LEDs polarity on WRT320N v1 X-Git-Tag: reboot~3430 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1d2abb6f16ca3430606edb42a15a97b6cb61af9a;p=openwrt%2Fstaging%2Fblogic.git brcm47xx: reverse 2 LEDs polarity on WRT320N v1 Signed-off-by: Rafał Miłecki SVN-Revision: 45307 --- diff --git a/target/linux/brcm47xx/patches-3.18/320-MIPS-BCM47XX-Devices-database-update-for-4.x.patch b/target/linux/brcm47xx/patches-3.18/320-MIPS-BCM47XX-Devices-database-update-for-4.x.patch index 5e15294e973b..725afa8613f5 100644 --- a/target/linux/brcm47xx/patches-3.18/320-MIPS-BCM47XX-Devices-database-update-for-4.x.patch +++ b/target/linux/brcm47xx/patches-3.18/320-MIPS-BCM47XX-Devices-database-update-for-4.x.patch @@ -50,9 +50,9 @@ static const struct gpio_led +bcm47xx_leds_linksys_wrt320n_v1[] __initconst = { -+ BCM47XX_GPIO_LED(1, "blue", "wlan", 0, LEDS_GPIO_DEFSTATE_OFF), ++ BCM47XX_GPIO_LED(1, "blue", "wlan", 1, LEDS_GPIO_DEFSTATE_OFF), + BCM47XX_GPIO_LED(2, "blue", "power", 0, LEDS_GPIO_DEFSTATE_ON), -+ BCM47XX_GPIO_LED(4, "amber", "wps", 0, LEDS_GPIO_DEFSTATE_OFF), ++ BCM47XX_GPIO_LED(4, "amber", "wps", 1, LEDS_GPIO_DEFSTATE_OFF), +}; + +static const struct gpio_led