diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-07-08 21:55:01 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-07-16 03:40:09 -0400 |
commit | 95b612cc6c7f95f4e08f1b3dbc6588fda49b1b12 (patch) | |
tree | 512fb16a3bb084947f0c02f98510395cf1d348ab /drivers/Makefile | |
parent | b3b6616378a4dcf1e903c8ad70fabfe4c2ad529b (diff) |
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>
Diffstat (limited to 'drivers/Makefile')
-rw-r--r-- | drivers/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/Makefile b/drivers/Makefile index b64b49f6e01b..e4b260ecec15 100644 --- a/drivers/Makefile +++ b/drivers/Makefile | |||
@@ -11,7 +11,7 @@ obj-y += bus/ | |||
11 | obj-$(CONFIG_GENERIC_PHY) += phy/ | 11 | obj-$(CONFIG_GENERIC_PHY) += phy/ |
12 | 12 | ||
13 | # GPIO must come after pinctrl as gpios may need to mux pins etc | 13 | # GPIO must come after pinctrl as gpios may need to mux pins etc |
14 | obj-y += pinctrl/ | 14 | obj-$(CONFIG_PINCTRL) += pinctrl/ |
15 | obj-y += gpio/ | 15 | obj-y += gpio/ |
16 | obj-y += pwm/ | 16 | obj-y += pwm/ |
17 | obj-$(CONFIG_PCI) += pci/ | 17 | obj-$(CONFIG_PCI) += pci/ |