Commit a2202a4c authored by Linus Walleij's avatar Linus Walleij

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: default avatarLinus Walleij <linus.walleij@linaro.org>
parent f9784298
...@@ -32,6 +32,7 @@ config PINCTRL_MT8173 ...@@ -32,6 +32,7 @@ config PINCTRL_MT8173
# For PMIC # For PMIC
config PINCTRL_MT6397 config PINCTRL_MT6397
bool "Mediatek MT6397 pin control" if COMPILE_TEST && !MFD_MT6397 bool "Mediatek MT6397 pin control" if COMPILE_TEST && !MFD_MT6397
depends on OF
default MFD_MT6397 default MFD_MT6397
select PINCTRL_MTK_COMMON select PINCTRL_MTK_COMMON
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment