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

commit 8d99ce1b62b87319579bf8062a5fefe31bd0589b
Author: wangchengdong <[email protected]>
AuthorDate: Mon Jan 19 09:38:26 2026 +0800

    drivers/ioexpander: add DEV_GPIO_NSIGNALS dependency on signals
    
    DEV_GPIO_NSIGNALS relies on signal support. Add an explicit Kconfig
    dependency on SIGNALS to prevent invalid no-signal configurations.
    
    Signed-off-by: Chengdong Wang <[email protected]>
---
 drivers/ioexpander/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ioexpander/Kconfig b/drivers/ioexpander/Kconfig
index 95133b576d6..1bd2cd89283 100644
--- a/drivers/ioexpander/Kconfig
+++ b/drivers/ioexpander/Kconfig
@@ -598,7 +598,7 @@ config DEV_GPIO_NPOLLWAITERS
 config DEV_GPIO_NSIGNALS
        int "Max number of signals"
        default 1
-       depends on DEV_GPIO
+       depends on DEV_GPIO && !DISABLE_ALL_SIGNALS
        ---help---
                The maximum number of signals that can be registered with the 
GPIO
                driver

Reply via email to