From 8ca40e5ebfb6db02c8c2e7312f1c43436028234e Mon Sep 17 00:00:00 2001 From: Fabio Baltieri Date: Tue, 19 Dec 2023 15:11:37 +0000 Subject: [PATCH] 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 --- drivers/input/Kconfig.evdev | 1 + drivers/input/Kconfig.it8xxx2 | 1 - drivers/input/Kconfig.kbd_matrix | 1 + drivers/input/Kconfig.npcx | 1 - 4 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/input/Kconfig.evdev b/drivers/input/Kconfig.evdev index ed2ac16d81..568797800f 100644 --- a/drivers/input/Kconfig.evdev +++ b/drivers/input/Kconfig.evdev @@ -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. diff --git a/drivers/input/Kconfig.it8xxx2 b/drivers/input/Kconfig.it8xxx2 index 6e729b27c3..0c59b34253 100644 --- a/drivers/input/Kconfig.it8xxx2 +++ b/drivers/input/Kconfig.it8xxx2 @@ -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. diff --git a/drivers/input/Kconfig.kbd_matrix b/drivers/input/Kconfig.kbd_matrix index 18f17b815a..4532b270f9 100644 --- a/drivers/input/Kconfig.kbd_matrix +++ b/drivers/input/Kconfig.kbd_matrix @@ -3,6 +3,7 @@ config INPUT_KBD_MATRIX bool + depends on MULTITHREADING help Enable library used for keyboard matrix drivers. diff --git a/drivers/input/Kconfig.npcx b/drivers/input/Kconfig.npcx index ef380b0ca4..07c2e30194 100644 --- a/drivers/input/Kconfig.npcx +++ b/drivers/input/Kconfig.npcx @@ -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.