18 lines
364 B
Text
18 lines
364 B
Text
|
menuconfig SWITCH
|
||
|
tristate "Switch class support"
|
||
|
default n
|
||
|
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"
|
||
|
default n
|
||
|
depends on GPIOLIB
|
||
|
help
|
||
|
Say Y here to enable GPIO based switch support.
|
||
|
|
||
|
endif # SWITCH
|