You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2022/01/06 21:20:51 UTC

[incubator-nuttx] branch master updated: ioexpander/rpmsg: Select IOEXPANDER_INT_ENABLE instead depend on it

This is an automated email from the ASF dual-hosted git repository.

aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 8dc2ce7  ioexpander/rpmsg: Select IOEXPANDER_INT_ENABLE instead depend on it
8dc2ce7 is described below

commit 8dc2ce7995f749080e288fd73303a4816896ba16
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Thu Jan 6 21:56:22 2022 +0800

    ioexpander/rpmsg: Select IOEXPANDER_INT_ENABLE instead depend on it
    
    follow other similiar drivers
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 drivers/ioexpander/Kconfig     | 2 +-
 drivers/ioexpander/ioe_rpmsg.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/ioexpander/Kconfig b/drivers/ioexpander/Kconfig
index 520c603e..18b3336 100644
--- a/drivers/ioexpander/Kconfig
+++ b/drivers/ioexpander/Kconfig
@@ -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.
 
diff --git a/drivers/ioexpander/ioe_rpmsg.c b/drivers/ioexpander/ioe_rpmsg.c
index ff5b1cf..ff19657 100755
--- a/drivers/ioexpander/ioe_rpmsg.c
+++ b/drivers/ioexpander/ioe_rpmsg.c
@@ -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>