mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 11:26:12 +08:00
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:
committed by
Xiang Xiao
parent
7aa761c69d
commit
8d99ce1b62
@@ -598,7 +598,7 @@ config DEV_GPIO_NPOLLWAITERS
|
|||||||
config DEV_GPIO_NSIGNALS
|
config DEV_GPIO_NSIGNALS
|
||||||
int "Max number of signals"
|
int "Max number of signals"
|
||||||
default 1
|
default 1
|
||||||
depends on DEV_GPIO
|
depends on DEV_GPIO && !DISABLE_ALL_SIGNALS
|
||||||
---help---
|
---help---
|
||||||
The maximum number of signals that can be registered with the GPIO
|
The maximum number of signals that can be registered with the GPIO
|
||||||
driver
|
driver
|
||||||
|
|||||||
Reference in New Issue
Block a user