ioexpander/rpmsg: Select IOEXPANDER_INT_ENABLE instead depend on it

follow other similiar drivers

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-01-06 21:56:22 +08:00 committed by Abdelatif Guettouche
parent 8042de1145
commit 8dc2ce7995
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ if IOEXPANDER_RPMSG
config IOEXPANDER_RPMSG_INT_NCALLBACKS
int "number of ioexpander rpmsg interrupt callbacks"
default 32
depends on IOEXPANDER_INT_ENABLE
select IOEXPANDER_INT_ENABLE
---help---
This set the IO expander number in interrupt callbacks.

View File

@ -27,7 +27,7 @@
#include <errno.h>
#include <stdio.h>
#include <nuttx/ioexpander/ioexpander.h>
#include <nuttx/ioexpander/ioe_rpmsg.h>
#include <nuttx/kmalloc.h>
#include <nuttx/nuttx.h>
#include <nuttx/semaphore.h>