diff mbox series

pinctrl: mtk: Fix mt8365 Kconfig dependency

Message ID 20210607065850.86934-1-linus.walleij@linaro.org
State Accepted
Commit 375eede3e37797667850f10342d8ace6fb327553
Headers show
Series pinctrl: mtk: Fix mt8365 Kconfig dependency | expand

Commit Message

Linus Walleij June 7, 2021, 6:58 a.m. UTC
This SoC needs to select PINCTRL_MTK or we can end up in
kernel compiles that miss some symbols.

Cc: Fabien Parent <fparent@baylibre.com>
Reported-by: kernel test robot <lkp@intel.com>
Fixes: e94d8b6fb83a ("pinctrl: mediatek: add support for mt8365 SoC")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 drivers/pinctrl/mediatek/Kconfig | 1 +
 1 file changed, 1 insertion(+)

-- 
2.31.1
diff mbox series

Patch

diff --git a/drivers/pinctrl/mediatek/Kconfig b/drivers/pinctrl/mediatek/Kconfig
index b27c2070559a..7040a7a7bd5d 100644
--- a/drivers/pinctrl/mediatek/Kconfig
+++ b/drivers/pinctrl/mediatek/Kconfig
@@ -158,6 +158,7 @@  config PINCTRL_MT8365
 	depends on OF
 	depends on ARM64 || COMPILE_TEST
 	default ARM64 && ARCH_MEDIATEK
+	select PINCTRL_MTK
 
 config PINCTRL_MT8516
 	bool "Mediatek MT8516 pin control"