summaryrefslogtreecommitdiff
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 000000000000..52385914b9ae
--- /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 GENERIC_GPIO
+ help
+ Say Y here to enable GPIO based switch support.
+
+endif # SWITCH