This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 963b421c39e drivers/virtio: Fix DRIVERS_VIRTIO_INPUT configuration 
dependencies
963b421c39e is described below

commit 963b421c39e7434789a8b12d74e5e937eaf12462
Author: rongyichang <[email protected]>
AuthorDate: Wed Dec 17 16:26:36 2025 +0800

    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 <[email protected]>
---
 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

Reply via email to