summaryrefslogtreecommitdiff
path: root/recipes-kernel
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2018-12-13 14:02:42 -0600
committerJohn Klug <john.klug@multitech.com>2018-12-13 14:02:42 -0600
commitb393a9251e20219a2b7af93a4020d3cf02b2c499 (patch)
treec59c5a0f21ddc08a36db1321ffecfcd7987f2045 /recipes-kernel
parent64a5e5cbe166f36f00651c8946fd9c8aef2dad1a (diff)
downloadmeta-multitech-atmel-b393a9251e20219a2b7af93a4020d3cf02b2c499.tar.gz
meta-multitech-atmel-b393a9251e20219a2b7af93a4020d3cf02b2c499.tar.bz2
meta-multitech-atmel-b393a9251e20219a2b7af93a4020d3cf02b2c499.zip
GPIO_PULLUP should be a bit in gpio.h
Diffstat (limited to 'recipes-kernel')
-rw-r--r--recipes-kernel/linux/linux-at91-4.9/linux-4.9-at91_gpio_set_single_ended.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-kernel/linux/linux-at91-4.9/linux-4.9-at91_gpio_set_single_ended.patch b/recipes-kernel/linux/linux-at91-4.9/linux-4.9-at91_gpio_set_single_ended.patch
index 4a7d644..7e7c6c3 100644
--- a/recipes-kernel/linux/linux-at91-4.9/linux-4.9-at91_gpio_set_single_ended.patch
+++ b/recipes-kernel/linux/linux-at91-4.9/linux-4.9-at91_gpio_set_single_ended.patch
@@ -159,12 +159,12 @@ diff -Naru linux-4.9.orig/drivers/pinctrl/pinctrl-at91.c linux-4.9/drivers/pinct
.ngpio = MAX_NB_GPIO_PER_BANK,
diff -Naru linux-4.9.orig/include/dt-bindings/gpio/gpio.h linux-4.9/include/dt-bindings/gpio/gpio.h
--- linux-4.9.orig/include/dt-bindings/gpio/gpio.h 2018-12-12 10:50:50.000000000 -0600
-+++ linux-4.9/include/dt-bindings/gpio/gpio.h 2018-12-12 18:45:10.857741181 -0600
++++ linux-4.9/include/dt-bindings/gpio/gpio.h 2018-12-13 14:00:29.459689020 -0600
@@ -17,6 +17,7 @@
#define GPIO_PUSH_PULL 0
#define GPIO_SINGLE_ENDED 2
-+#define GPIO_PULLUP 3
++#define GPIO_PULLUP 4
/*
* Open Drain/Collector is the combination of single-ended active low,
* Open Source/Emitter is the combination of single-ended active high.