From a6af504184c981efd253f986e6fc54db57b1d39f Mon Sep 17 00:00:00 2001
From: Philipp Zabel
Date: Mon, 4 Apr 2022 11:45:00 +0200
Subject: [PATCH] reset: ti-sci: Allow building under COMPILE_TEST
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
Signed-off-by: Nishanth Menon
Link: https://lore.kernel.org/r/20220404094500.2708816-1-p.zabel@pengutronix.de
---
drivers/reset/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index b496028b6bfaf..d6cb52a1dce71 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