summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/mediatek
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2015-05-20 09:11:23 +0200
committerLinus Walleij <linus.walleij@linaro.org>2015-05-20 09:11:23 +0200
commita2202a4c762bedb56bcaafd3200deceac1c2e7b5 (patch)
tree67ecacea41841f39b39126e2b3034ac1a16ed46e /drivers/pinctrl/mediatek
parentf9784298e2b4a95be3bd7200075a2fdc61fd9f3b (diff)
downloadlinux-a2202a4c762bedb56bcaafd3200deceac1c2e7b5.tar.gz
linux-a2202a4c762bedb56bcaafd3200deceac1c2e7b5.tar.bz2
linux-a2202a4c762bedb56bcaafd3200deceac1c2e7b5.zip
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>
Diffstat (limited to 'drivers/pinctrl/mediatek')
-rw-r--r--drivers/pinctrl/mediatek/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/mediatek/Kconfig b/drivers/pinctrl/mediatek/Kconfig
index 0bc84fb2f4f2..02f6f92df86c 100644
--- a/drivers/pinctrl/mediatek/Kconfig
+++ b/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