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>
15 lines
328 B
Text
15 lines
328 B
Text
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
|