Skip to contentSkip to conversation

gpio: mt7621: remove dependce SOC_MT7628 of MT7621_GPIO

PATCH New Du Huanpeng 1 participant 1 message Nov 1, 2020 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio: mt7621: remove dependce SOC_MT7628 of MT7621_GPIO

the help says it is for "MT7621 compatible" GPIOs, but in this Kconfig it depends on MT7628 SoC. this will prevent other SoC to use this driver.

---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/Kconfig +1 -1
index 202fcc6..c2441eb 100644
@@ -473,7 +473,7 @@ config MPC83XX_SPISEL_BOOT
 
 config MT7621_GPIO
 	bool "MediaTek MT7621 GPIO driver"
-	depends on DM_GPIO && SOC_MT7628
+	depends on DM_GPIO
 	default y
 	help
 	  Say yes here to support MediaTek MT7621 compatible GPIOs.
Signature · 1 line
2.7.4