瀏覽代碼

pinctrl: mediatek: add OF dependency to MT6397

X86_64 allmodconfig screams like so:
warning: (PINCTRL_MT6397) selects PINCTRL_MTK_COMMON
which has unmet direct dependencies
(PINCTRL && (ARCH_MEDIATEK || COMPILE_TEST) && OF)

So add OF to dependencies to shut up this warning.

Cc: Hongzhou Yang <hongzhou.yang@mediatek.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Linus Walleij 10 年之前
父節點
當前提交
a2202a4c76
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/pinctrl/mediatek/Kconfig

+ 1 - 0
drivers/pinctrl/mediatek/Kconfig

@@ -32,6 +32,7 @@ config PINCTRL_MT8173
 # For PMIC
 config PINCTRL_MT6397
 	bool "Mediatek MT6397 pin control" if COMPILE_TEST && !MFD_MT6397
+	depends on OF
 	default MFD_MT6397
 	select PINCTRL_MTK_COMMON