pinctrl: move CONFIG_PINCTRL to drivers/Makefile
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 9 Jul 2015 01:55:01 +0000 (10:55 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 16 Jul 2015 07:40:09 +0000 (09:40 +0200)
commit95b612cc6c7f95f4e08f1b3dbc6588fda49b1b12
tree512fb16a3bb084947f0c02f98510395cf1d348ab
parentb3b6616378a4dcf1e903c8ad70fabfe4c2ad529b
pinctrl: move CONFIG_PINCTRL to drivers/Makefile

Kbuild should descend into drivers/pinctrl/ only when CONFIG_PINCTRL
is enabled because everything under that directory depends on
CONFIG_PINCTRL.

We can avoid the conditional, ifeq ($(CONFIG_OF),y) ... endif.

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