We can't have PINCTRL_MTK depend on PINCTRL_GENERIC and then all drivers select it. Individual drivers should directly depend on PINCTRL_GENERIC.
Signed-off-by: Julien Stephan <[email protected]> --- drivers/pinctrl/mediatek/Kconfig | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/drivers/pinctrl/mediatek/Kconfig b/drivers/pinctrl/mediatek/Kconfig index 8b9180bd2aaeb56325ba42d08afa42d9317f23a1..d10d08d9fe80441a5a2f8acc13e312825fa43a5d 100644 --- a/drivers/pinctrl/mediatek/Kconfig +++ b/drivers/pinctrl/mediatek/Kconfig @@ -1,47 +1,46 @@ if ARCH_MEDIATEK config PINCTRL_MTK - depends on PINCTRL_GENERIC bool config PINCTRL_MT7622 bool "MT7622 SoC pinctrl driver" - select PINCTRL_MTK + depends on PINCTRL_GENERIC config PINCTRL_MT7623 bool "MT7623 SoC pinctrl driver" - select PINCTRL_MTK + depends on PINCTRL_GENERIC config PINCTRL_MT7629 bool "MT7629 SoC pinctrl driver" - select PINCTRL_MTK + depends on PINCTRL_GENERIC config PINCTRL_MT7981 bool "MT7981 SoC pinctrl driver" - select PINCTRL_MTK + depends on PINCTRL_GENERIC config PINCTRL_MT7986 bool "MT7986 SoC pinctrl driver" - select PINCTRL_MTK + depends on PINCTRL_GENERIC config PINCTRL_MT7987 bool "MT7987 SoC pinctrl driver" - select PINCTRL_MTK + depends on PINCTRL_GENERIC config PINCTRL_MT7988 bool "MT7988 SoC pinctrl driver" - select PINCTRL_MTK + depends on PINCTRL_GENERIC config PINCTRL_MT8512 bool "MT8512 SoC pinctrl driver" - select PINCTRL_MTK + depends on PINCTRL_GENERIC config PINCTRL_MT8516 bool "MT8516 SoC pinctrl driver" - select PINCTRL_MTK + depends on PINCTRL_GENERIC config PINCTRL_MT8518 bool "MT8518 SoC pinctrl driver" - select PINCTRL_MTK + depends on PINCTRL_GENERIC endif -- 2.50.1

