120-gpio_chrdev.patch 876 B

12345678910111213141516171819202122232425262728
  1. --- a/drivers/char/Kconfig
  2. +++ b/drivers/char/Kconfig
  3. @@ -461,6 +461,15 @@ config MWAVE
  4. To compile this driver as a module, choose M here: the
  5. module will be called mwave.
  6. +config AR7_GPIO
  7. + tristate "TI AR7 GPIO Support"
  8. + depends on AR7
  9. + help
  10. + Give userspace access to the GPIO pins on the Texas Instruments AR7
  11. + processors.
  12. +
  13. + If compiled as a module, it will be called ar7_gpio.
  14. +
  15. config SCx200_GPIO
  16. tristate "NatSemi SCx200 GPIO Support"
  17. depends on SCx200
  18. --- a/drivers/char/Makefile
  19. +++ b/drivers/char/Makefile
  20. @@ -42,6 +42,7 @@ obj-$(CONFIG_HW_RANDOM) += hw_random/
  21. obj-$(CONFIG_PPDEV) += ppdev.o
  22. obj-$(CONFIG_NWBUTTON) += nwbutton.o
  23. obj-$(CONFIG_NWFLASH) += nwflash.o
  24. +obj-$(CONFIG_AR7_GPIO) += ar7_gpio.o
  25. obj-$(CONFIG_SCx200_GPIO) += scx200_gpio.o
  26. obj-$(CONFIG_PC8736x_GPIO) += pc8736x_gpio.o
  27. obj-$(CONFIG_NSC_GPIO) += nsc_gpio.o