pinctrl: sunxi: guard sub-directory with CONFIG_PINCTRL_SUNXI
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 23 Jan 2016 15:32:09 +0000 (00:32 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 28 Jan 2016 13:25:50 +0000 (14:25 +0100)
commit3a42a042f5cbefa925484a9bc4abd1bfeec5d779
tree09cdcb5729bafcf3820f422cc10a8f1759afffcf
parent411a1fb80fb6d7cf50b8ff3811d25dbf262d6328
pinctrl: sunxi: guard sub-directory with CONFIG_PINCTRL_SUNXI

CONFIG_PINCTRL_SUNXI is more suitable than CONFIG_ARCH_SUNXI
to guard the drivers/pinctrl/sunxi/ directory.
(I renamed CONFIG_PINCTRL_SUNXI_COMMON to CONFIG_PINCTRL_SUNXI.)

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/Makefile
drivers/pinctrl/sunxi/Kconfig
drivers/pinctrl/sunxi/Makefile