brcm47xx: reverse 2 LEDs polarity on WRT320N v1

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45307
This commit is contained in:
Rafał Miłecki 2015-04-08 04:46:27 +00:00
parent a9d2a1aa29
commit 1d2abb6f16

View file

@ -50,9 +50,9 @@
static const struct gpio_led static const struct gpio_led
+bcm47xx_leds_linksys_wrt320n_v1[] __initconst = { +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(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 +static const struct gpio_led