You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2022/01/07 08:37:14 UTC

[incubator-nuttx] branch master updated: drivers/ioexpander: fix the kconfig warning

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

pkarashchenko 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 3fceaf1  drivers/ioexpander: fix the kconfig warning
3fceaf1 is described below

commit 3fceaf10a93380b47f95fb4dce5c993995213e06
Author: chao.an <an...@xiaomi.com>
AuthorDate: Fri Jan 7 15:39:29 2022 +0800

    drivers/ioexpander: fix the kconfig warning
    
    drivers/ioexpander/Kconfig:28:
    
    warning:
    config symbol 'IOEXPANDER_RPMSG_INT_NCALLBACKS' uses select, but is not boolean or tristate
    
    Signed-off-by: chao.an <an...@xiaomi.com>
---
 drivers/ioexpander/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ioexpander/Kconfig b/drivers/ioexpander/Kconfig
index 18b3336..856bcfb 100644
--- a/drivers/ioexpander/Kconfig
+++ b/drivers/ioexpander/Kconfig
@@ -17,6 +17,7 @@ if IOEXPANDER
 config IOEXPANDER_RPMSG
 	bool "IO expander rpmsg server and client"
 	default n
+	select IOEXPANDER_INT_ENABLE
 	---help---
 		This settings enable ioexpander rpmsg server and client.
 
@@ -25,7 +26,6 @@ if IOEXPANDER_RPMSG
 config IOEXPANDER_RPMSG_INT_NCALLBACKS
 	int "number of ioexpander rpmsg interrupt callbacks"
 	default 32
-	select IOEXPANDER_INT_ENABLE
 	---help---
 		This set the IO expander number in interrupt callbacks.