drivers: input: depend on multithreading on drivers using a thread

These all require threads support to function, add a "depends on
MULTITHREADING" accordingly.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
Fabio Baltieri 2023-12-19 15:11:37 +00:00 committed by Fabio Baltieri
parent 6d67b95a18
commit 8ca40e5ebf
4 changed files with 2 additions and 2 deletions

View file

@ -6,6 +6,7 @@ config NATIVE_LINUX_EVDEV
default y
depends on DT_HAS_ZEPHYR_NATIVE_LINUX_EVDEV_ENABLED
depends on ARCH_POSIX
depends on MULTITHREADING
help
Enable reading input from a Linux evdev device, requires specifying
an evdev device path in the --evdev command line argument.

View file

@ -6,6 +6,5 @@ config INPUT_ITE_IT8XXX2_KBD
default y
depends on DT_HAS_ITE_IT8XXX2_KBD_ENABLED
select INPUT_KBD_MATRIX
select MULTITHREADING
help
This option enables the ITE keyboard scan driver.

View file

@ -3,6 +3,7 @@
config INPUT_KBD_MATRIX
bool
depends on MULTITHREADING
help
Enable library used for keyboard matrix drivers.

View file

@ -8,7 +8,6 @@ config INPUT_NPCX_KBD
default y
depends on DT_HAS_NUVOTON_NPCX_KBD_ENABLED
select INPUT_KBD_MATRIX
select MULTITHREADING
help
This option enables the keyboard scan driver for NPCX family of
processors.