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 <wangchengdong@lixiang.com>
This commit is contained in:
wangchengdong
2026-01-19 09:38:26 +08:00
committed by Xiang Xiao
parent 7aa761c69d
commit 8d99ce1b62

View File

@@ -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