Kconfig 328 B

12345678910111213141516
  1. menuconfig SWITCH
  2. tristate "Switch class support"
  3. help
  4. Say Y here to enable switch class support. This allows
  5. monitoring switches by userspace via sysfs and uevent.
  6. if SWITCH
  7. config SWITCH_GPIO
  8. tristate "GPIO Swith support"
  9. depends on GPIOLIB
  10. help
  11. Say Y here to enable GPIO based switch support.
  12. endif # SWITCH