pinctrl: mtk: Fix mt8365 Kconfig dependency
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 7 Jun 2021 06:56:20 +0000 (08:56 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 7 Jun 2021 06:56:20 +0000 (08:56 +0200)
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

index b27c2070559ab0328ee8a26724bd829a704d966d..7040a7a7bd5d118d08adba7a4fa4aabfe2148f84 100644 (file)
@@ -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"