kernel: bump 4.14 to 4.14.66
[openwrt/openwrt.git] / target / linux / ar71xx / patches-4.14 / 442-leds-gpio-allow-to-use-OPEN_-DRAIN-SOURCE-flags-with.patch
index 26c8cb5dfc5a6e4565fe5a9fc082d9f1462850b1..3dbf68b1ed182ba436b8d86388cc05f7376448e1 100644 (file)
@@ -34,9 +34,9 @@ Signed-off-by: Gabor Juhos <juhosg@freemail.hu>
                if (ret < 0)
 --- a/include/linux/leds.h
 +++ b/include/linux/leds.h
-@@ -380,6 +380,8 @@ struct gpio_led {
-       unsigned        panic_indicator : 1;
+@@ -395,6 +395,8 @@ struct gpio_led {
        unsigned        default_state : 2;
+       unsigned        retain_state_shutdown : 1;
        /* default_state should be one of LEDS_GPIO_DEFSTATE_(ON|OFF|KEEP) */
 +      unsigned        open_drain : 1;
 +      unsigned        open_source : 1;