pinctrl: mediatek: guard sub-directory with CONFIG_PINCTRL_MTK
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 10 Feb 2016 09:54:32 +0000 (18:54 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 13 Feb 2016 22:34:19 +0000 (23:34 +0100)
commit4a9e00600b6feeacae02b8ac3428bf98c813c1b2
treeff55ea73a59543bd6860597593da9355633d1686
parent2f749c3ac70334105f918d23743349e34e22c952
pinctrl: mediatek: guard sub-directory with CONFIG_PINCTRL_MTK

CONFIG_PINCTRL_MTK is more suitable than CONFIG_ARCH_MEDIATEK
to guard the drivers/pinctrl/mediatek/ directory.
(I renamed CONFIG_PINCTRL_MTK_COMMON to CONFIG_PINCTRL_MTK.)

This allows COMPILE_TEST to descend into drivers/pinctrl/mediatek
without CONFIG_ARCH_MEDIATEK define.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/Makefile
drivers/pinctrl/mediatek/Kconfig
drivers/pinctrl/mediatek/Makefile