From: Philipp Zabel
Date: Mon, 11 Jul 2022 13:06:24 +0000 (+0200)
Subject: reset: a10sr: allow building under COMPILE_TEST
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=af19f1936d63f8aefeca61a5410f8908e0f11f56;p=linux.git
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
---
diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index e52f29a555e98..d9a08ec343e28 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.