[PATCH master 2/3] test: self: regulator: depend on REGULATOR_FIXED for test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
---
 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





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux