diff mbox series

gpio: mt7621: remove dependce SOC_MT7628 of MT7621_GPIO

Message ID 1604214286-20022-1-git-send-email-dhu@hodcarrier.org
State Under Review
Delegated to: Daniel Schwierzeck
Headers show
Series gpio: mt7621: remove dependce SOC_MT7628 of MT7621_GPIO | expand

Commit Message

Du Huanpeng Nov. 1, 2020, 7:04 a.m. UTC
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.

Signed-off-by: Du Huanpeng <dhu@hodcarrier.org>
---
 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 202fcc6..c2441eb 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -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.