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:
parent
8042de1145
commit
8dc2ce7995
@ -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.
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user