From 3fbe0a16c7a883124793607c2c3ac76a6789f617 Mon Sep 17 00:00:00 2001 From: rongyichang Date: Wed, 17 Dec 2025 16:26:36 +0800 Subject: [PATCH] drivers/virtio: Fix DRIVERS_VIRTIO_INPUT configuration dependencies Changed the DRIVERS_VIRTIO_INPUT dependencies from 'depends on' to 'select' for INPUT_TOUCHSCREEN, INPUT_KEYBOARD, and INPUT_MOUSE options. This ensures that when DRIVERS_VIRTIO_INPUT is enabled, all required input subsystems are automatically selected, fixing the issue where mouse device nodes were not being created properly. Signed-off-by: rongyichang --- drivers/virtio/Kconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig index 5485919b5c5..3642add84f8 100644 --- a/drivers/virtio/Kconfig +++ b/drivers/virtio/Kconfig @@ -48,7 +48,10 @@ config DRIVERS_VIRTIO_GPU config DRIVERS_VIRTIO_INPUT bool "Virtio input support" - depends on INPUT && INPUT_TOUCHSCREEN && INPUT_KEYBOARD && INPUT_MOUSE + depends on INPUT + select INPUT_TOUCHSCREEN + select INPUT_KEYBOARD + select INPUT_MOUSE default n config DRIVERS_VIRTIO_NET