feb5ab43a4494821c9fc61abea2d81b1e5bb96a2
[openwrt/openwrt.git] / target / linux / ar71xx / patches-4.9 / 452-gpio-add-gpio-latch-driver.patch
1 --- a/drivers/gpio/Kconfig
2 +++ b/drivers/gpio/Kconfig
3 @@ -1221,4 +1221,9 @@ config GPIO_NXP_74HC153
4 Platform driver for NXP 74HC153 Dual 4-input Multiplexer. This
5 provides a GPIO interface supporting input mode only.
6
7 +config GPIO_LATCH
8 + tristate "GPIO latch driver"
9 + help
10 + Say yes here to enable a GPIO latch driver.
11 +
12 endif
13 --- a/drivers/gpio/Makefile
14 +++ b/drivers/gpio/Makefile
15 @@ -56,6 +56,7 @@ obj-$(CONFIG_GPIO_JANZ_TTL) += gpio-janz
16 obj-$(CONFIG_GPIO_KEMPLD) += gpio-kempld.o
17 obj-$(CONFIG_ARCH_KS8695) += gpio-ks8695.o
18 obj-$(CONFIG_GPIO_INTEL_MID) += gpio-intel-mid.o
19 +obj-$(CONFIG_GPIO_LATCH) += gpio-latch.o
20 obj-$(CONFIG_GPIO_LOONGSON) += gpio-loongson.o
21 obj-$(CONFIG_GPIO_LP3943) += gpio-lp3943.o
22 obj-$(CONFIG_GPIO_LPC18XX) += gpio-lpc18xx.o