aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/patches-4.14/442-leds-gpio-allow-to-use-OPEN_-DRAIN-SOURCE-flags-with.patch
diff options
context:
space:
mode:
authorKoen Vandeputte <koen.vandeputte@ncentric.com>2018-08-22 11:22:30 +0200
committerKoen Vandeputte <koen.vandeputte@ncentric.com>2018-08-22 13:47:13 +0200
commit6b4ba118ac1ba1318182eb3a22864e86165f0b09 (patch)
tree4f47188239e811ae1a9ea924e2871e0726a7aff3 /target/linux/ar71xx/patches-4.14/442-leds-gpio-allow-to-use-OPEN_-DRAIN-SOURCE-flags-with.patch
parent7a9afb8783d60e16308f98efb59907aec0fdd5f7 (diff)
downloadupstream-6b4ba118ac1ba1318182eb3a22864e86165f0b09.tar.gz
upstream-6b4ba118ac1ba1318182eb3a22864e86165f0b09.tar.bz2
upstream-6b4ba118ac1ba1318182eb3a22864e86165f0b09.zip
kernel: bump 4.14 to 4.14.66
Refreshed all patches Compile-tested on: cns3xxx, imx6 Runtime-tested on: cns3xxx, imx6 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target/linux/ar71xx/patches-4.14/442-leds-gpio-allow-to-use-OPEN_-DRAIN-SOURCE-flags-with.patch')
-rw-r--r--target/linux/ar71xx/patches-4.14/442-leds-gpio-allow-to-use-OPEN_-DRAIN-SOURCE-flags-with.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/patches-4.14/442-leds-gpio-allow-to-use-OPEN_-DRAIN-SOURCE-flags-with.patch b/target/linux/ar71xx/patches-4.14/442-leds-gpio-allow-to-use-OPEN_-DRAIN-SOURCE-flags-with.patch
index 26c8cb5dfc..3dbf68b1ed 100644
--- a/target/linux/ar71xx/patches-4.14/442-leds-gpio-allow-to-use-OPEN_-DRAIN-SOURCE-flags-with.patch
+++ b/target/linux/ar71xx/patches-4.14/442-leds-gpio-allow-to-use-OPEN_-DRAIN-SOURCE-flags-with.patch
@@ -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;