[PATCH 10/13] commands: pm_domain: make command tristate

Ahmad Fatoum a.fatoum at barebox.org
Fri Jan 16 08:06:33 PST 2026


The upcoming module test will build pm_domain as module and check that
dynamically adding commands work, so prepare for that in Kconfig.

Signed-off-by: Ahmad Fatoum <a.fatoum at barebox.org>
---
 commands/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commands/Kconfig b/commands/Kconfig
index f94c7278e72e..297c89b4b566 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -273,7 +273,7 @@ config CMD_REGULATOR
 	  their current state.
 
 config CMD_PM_DOMAIN
-	bool
+	tristate
 	depends on PM_GENERIC_DOMAINS
 	prompt "pm_domain command"
 	help
-- 
2.47.3




More information about the barebox mailing list