reset: ti-sci: Allow building under COMPILE_TEST
authorPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 4 Apr 2022 09:45:00 +0000 (11:45 +0200)
committerNishanth Menon <nm@ti.com>
Fri, 15 Apr 2022 20:03:20 +0000 (15:03 -0500)
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@pengutronix.de>
Signed-off-by: Nishanth Menon <nm@ti.com>
Link: https://lore.kernel.org/r/20220404094500.2708816-1-p.zabel@pengutronix.de
drivers/reset/Kconfig

index b496028..d6cb52a 100644 (file)
@@ -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