17 lines
363 B
Plaintext
17 lines
363 B
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
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
|