Skip to contentSkip to conversation

gpio: Correct dependencies for legacy CMD_PCA953X

PATCH In review Tom Rini 1 participant 2 messages Mar 20 – Apr 3 GPIO

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 gpio: Correct dependencies for legacy CMD_PCA953X

The legacy CMD_PCA953X command can only be built when the matching legacy driver is enabled, add that dependency to Kconfig.

---
 drivers/gpio/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/gpio/Kconfig +1 -0
index f69919abc05b..1484dd3504c1 100644
@@ -383,6 +383,7 @@ config OMAP_GPIO
 
 config CMD_PCA953X
 	bool "Enable the pca953x command"
+	depends on PCA953X
 	help
 	  Deprecated: This should be converted to driver model.
 
Signature · 1 line
2.43.0
author
#1 lore raw
Quoted 4 lines · Tom Rini

The legacy CMD_PCA953X command can only be built when the matching legacy driver is enabled, add that dependency to Kconfig.

Applied to u-boot/next, thanks!

[1/1] gpio: Correct dependencies for legacy CMD_PCA953X

      commit: 56b896511c0ed9e2b2f9df9a400c3bb1e9659f1f
Signature · 1 line
Tom