mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH master 2/3] test: self: regulator: depend on REGULATOR_FIXED for test
Date: Wed,  3 Jan 2024 11:13:43 +0100	[thread overview]
Message-ID: <20240103101344.2628970-2-a.fatoum@pengutronix.de> (raw)
In-Reply-To: <20240103101344.2628970-1-a.fatoum@pengutronix.de>

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




  reply	other threads:[~2024-01-03 10:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-03 10:13 [PATCH master 1/3] test: self: ramfs: fix null pointer dereference on error Ahmad Fatoum
2024-01-03 10:13 ` Ahmad Fatoum [this message]
2024-01-03 10:13 ` [PATCH master 3/3] test: self: mmu: fix message on skipping tests Ahmad Fatoum
2024-01-03 14:10 ` [PATCH master 1/3] test: self: ramfs: fix null pointer dereference on error Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240103101344.2628970-2-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox