aboutsummaryrefslogtreecommitdiff
path: root/drivers/switch/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/switch/Kconfig')
-rw-r--r--drivers/switch/Kconfig15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/switch/Kconfig b/drivers/switch/Kconfig
new file mode 100644
index 00000000000..19404b6f777
--- /dev/null
+++ b/drivers/switch/Kconfig
@@ -0,0 +1,15 @@
+menuconfig SWITCH
+ tristate "Switch class support"
+ help
+ Say Y here to enable switch class support. This allows
+ monitoring switches by userspace via sysfs and uevent.
+
+if SWITCH
+
+config SWITCH_GPIO
+ tristate "GPIO Swith support"
+ depends on GPIOLIB
+ help
+ Say Y here to enable GPIO based switch support.
+
+endif # SWITCH