From: Linus Walleij <linus.walleij@linaro.org> Date: Wed, 20 May 2015 07:11:23 +0000 (+0200) Subject: pinctrl: mediatek: add OF dependency to MT6397 X-Git-Tag: firefly_0821_release~176^2~1585^2~61 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a2202a4c762bedb56bcaafd3200deceac1c2e7b5;p=firefly-linux-kernel-4.4.55.git 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> --- 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