[PATCH master 2/3] test: self: regulator: depend on REGULATOR_FIXED for test
Ahmad Fatoum
a.fatoum at pengutronix.de
Wed Jan 3 02:13:43 PST 2024
The regulator self test requires fixed regulator support, which itself
already requires REGULATOR && OFDEVICE, which we already depend on.
Therefore, just add REGULATOR_FIXED as dependency.
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
test/self/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/self/Kconfig b/test/self/Kconfig
index ace01accda7e..6b9a4bf4a6e4 100644
--- a/test/self/Kconfig
+++ b/test/self/Kconfig
@@ -41,7 +41,7 @@ config SELFTEST_ENABLE_ALL
select SELFTEST_MMU if MMU
select SELFTEST_STRING
select SELFTEST_SETJMP if ARCH_HAS_SJLJ
- select SELFTEST_REGULATOR if REGULATOR && OFDEVICE
+ select SELFTEST_REGULATOR if REGULATOR_FIXED
select SELFTEST_TEST_COMMAND if CMD_TEST
select SELFTEST_IDR
help
@@ -101,7 +101,7 @@ config SELFTEST_SETJMP
config SELFTEST_REGULATOR
bool "Regulator selftest"
- depends on REGULATOR && OFDEVICE
+ depends on REGULATOR_FIXED
select OF_OVERLAY
config SELFTEST_TEST_COMMAND
--
2.39.2
More information about the barebox
mailing list