aboutsummaryrefslogtreecommitdiffstats
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..52385914b9a
--- /dev/null
+++ b/drivers/switch/Kconfig
@@ -0,0 +1,15 @@
1menuconfig 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
7if SWITCH
8
9config SWITCH_GPIO
10 tristate "GPIO Swith support"
11 depends on GENERIC_GPIO
12 help
13 Say Y here to enable GPIO based switch support.
14
15endif # SWITCH