2022-07-11 13:17:29

by Philipp Zabel

[permalink] [raw]
Subject: [PATCH] reset: a10sr: allow building under COMPILE_TEST

This driver can be built under COMPILE_TEST. Allow it.

Signed-off-by: Philipp Zabel <[email protected]>
---
drivers/reset/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index e52f29a555e9..d9a08ec343e2 100644
--- a/drivers/reset/Kconfig
+++ b/drivers/reset/Kconfig
@@ -17,7 +17,7 @@ if RESET_CONTROLLER

config RESET_A10SR
tristate "Altera Arria10 System Resource Reset"
- depends on MFD_ALTERA_A10SR
+ depends on MFD_ALTERA_A10SR || COMPILE_TEST
help
This option enables support for the external reset functions for
peripheral PHYs on the Altera Arria10 System Resource Chip.
--
2.30.2