Files
ubports_kernel_google_msm/drivers/switch/Kconfig
Mike Lockwood 80d38eaf3d 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>
2012-04-09 13:53:14 -07:00

16 lines
333 B
Plaintext

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