Skip to contentSkip to conversation

sandbox: Only select DM_GPIO if GPIO

PATCH New Tom Rini 1 participant 1 message Mar 10

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 sandbox: Only select DM_GPIO if GPIO

The DM_GPIO option is not available if GPIO is not enabled, so make this select only happen if GPIO is enabled. This avoids a Kconfig dependency problem.

---
 arch/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/Kconfig +1 -1
index 4af0da2485fb..53697c31db6b 100644
@@ -196,7 +196,7 @@ config SANDBOX
 	select DM
 	select DM_EVENT
 	select DM_FUZZING_ENGINE
-	select DM_GPIO
+	select DM_GPIO if GPIO
 	select DM_I2C
 	select DM_KEYBOARD
 	select DM_SERIAL
Signature · 1 line
2.43.0