pinctrl: mediatek: add OF dependency to MT6397
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 20 May 2015 07:11:23 +0000 (09:11 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 20 May 2015 07:11:23 +0000 (09:11 +0200)
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>
drivers/pinctrl/mediatek/Kconfig

index 0bc84fb2f4f229d41c83c685a15411983f2fb7e5..02f6f92df86c51086fb910330f1a35858e97df4f 100644 (file)
@@ -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