From af19f1936d63f8aefeca61a5410f8908e0f11f56 Mon Sep 17 00:00:00 2001
From: Philipp Zabel
Date: Mon, 11 Jul 2022 15:06:24 +0200
Subject: [PATCH] reset: a10sr: allow building under COMPILE_TEST
This driver can be built under COMPILE_TEST. Allow it.
Signed-off-by: Philipp Zabel
Link: https://lore.kernel.org/r/20220711130624.1217599-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 e52f29a..d9a08ec 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.7.4