From 8dc2ce7995f749080e288fd73303a4816896ba16 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Thu, 6 Jan 2022 21:56:22 +0800 Subject: [PATCH] ioexpander/rpmsg: Select IOEXPANDER_INT_ENABLE instead depend on it follow other similiar drivers Signed-off-by: Xiang Xiao --- 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 520c603e87..18b3336c5f 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 ff5b1cfeae..ff19657794 100755 --- a/drivers/ioexpander/ioe_rpmsg.c +++ b/drivers/ioexpander/ioe_rpmsg.c @@ -27,7 +27,7 @@ #include #include -#include +#include #include #include #include