452-gpio-add-gpio-latch-driver.patch 774 B

12345678910111213141516171819202122
  1. --- a/drivers/gpio/Kconfig
  2. +++ b/drivers/gpio/Kconfig
  3. @@ -914,4 +914,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. +config GPIO_LATCH
  7. + tristate "GPIO latch driver"
  8. + help
  9. + Say yes here to enable a GPIO latch driver.
  10. +
  11. endif
  12. --- a/drivers/gpio/Makefile
  13. +++ b/drivers/gpio/Makefile
  14. @@ -39,6 +39,7 @@ obj-$(CONFIG_GPIO_JANZ_TTL) += gpio-janz
  15. obj-$(CONFIG_GPIO_KEMPLD) += gpio-kempld.o
  16. obj-$(CONFIG_ARCH_KS8695) += gpio-ks8695.o
  17. obj-$(CONFIG_GPIO_INTEL_MID) += gpio-intel-mid.o
  18. +obj-$(CONFIG_GPIO_LATCH) += gpio-latch.o
  19. obj-$(CONFIG_GPIO_LP3943) += gpio-lp3943.o
  20. obj-$(CONFIG_ARCH_LPC32XX) += gpio-lpc32xx.o
  21. obj-$(CONFIG_GPIO_LYNXPOINT) += gpio-lynxpoint.o