[PATCH] reset: ti-sci: allow building under COMPILE_TEST

From: Philipp Zabel
Date: Mon Apr 04 2022 - 05:45:14 EST


Since commit 043cfff99a18 ("firmware: ti_sci: Fix compilation failure
when CONFIG_TI_SCI_PROTOCOL is not defined") it is possible to build
reset-ti-sci under CONFIG_COMPILE_TEST.

Signed-off-by: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx>
---
drivers/reset/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index b496028b6bfa..d6cb52a1dce7 100644
--- a/drivers/reset/Kconfig
+++ b/drivers/reset/Kconfig
@@ -240,7 +240,7 @@ config RESET_SUNXI

config RESET_TI_SCI
tristate "TI System Control Interface (TI-SCI) reset driver"
- depends on TI_SCI_PROTOCOL
+ depends on TI_SCI_PROTOCOL || COMPILE_TEST
help
This enables the reset driver support over TI System Control Interface
available on some new TI's SoCs. If you wish to use reset resources
--
2.30.2