diff options
author | Mike Lockwood <lockwood@android.com> | 2008-10-14 12:50:16 -0400 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2014-03-19 13:02:04 -0700 |
commit | 625c814c7d5730417d377b91f208df9449101624 (patch) | |
tree | 922904b158cd8c4f3942da62831ac69873a2db69 /drivers/switch/Kconfig | |
parent | 81e2149523118c9030be19a6de7986a701659d00 (diff) |
switch: switch class and GPIO drivers.
switch: Export symbol switch_set_state.
Signed-off-by: Mike Lockwood <lockwood@android.com>
switch: gpio: Don't call request_irq with interrupts disabled
Signed-off-by: Arve Hjønnevåg <arve@android.com>
switch: Use device_create instead of device_create_drvdata.
device_create_drvdata is obsolete.
Signed-off-by: Arve Hjønnevåg <arve@android.com>
switch_gpio: Add missing #include <linux/interrupt.h>
Change-Id: I6c397e41bbe1457162cc69e31a29db5d9f76fccb
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'drivers/switch/Kconfig')
-rw-r--r-- | drivers/switch/Kconfig | 15 |
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 |