pinctrl: mvebu: guard sub-directory with CONFIG_PINCTRL_MVEBU
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 24 Nov 2015 11:45:23 +0000 (20:45 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 1 Dec 2015 09:41:03 +0000 (10:41 +0100)
CONFIG_PINCTRL_MVEBU is more suitable than CONFIG_PLAT_ORION
to guard the drivers/pinctrl/mvebu/ directory.

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

index 17c02062508b861528019ebe409d352bb37d8f33..cdc4a61a6373870a711e84307faafe082f49a9c4 100644 (file)
@@ -44,7 +44,7 @@ obj-$(CONFIG_ARCH_BCM)                += bcm/
 obj-$(CONFIG_PINCTRL_BERLIN)   += berlin/
 obj-y                          += freescale/
 obj-$(CONFIG_X86)              += intel/
-obj-$(CONFIG_PLAT_ORION)        += mvebu/
+obj-$(CONFIG_PINCTRL_MVEBU)    += mvebu/
 obj-y                          += nomadik/
 obj-$(CONFIG_ARCH_QCOM)                += qcom/
 obj-$(CONFIG_PINCTRL_SAMSUNG)  += samsung/
index 554d8af14eebbb8d26e83ff64f7c1d01cebd0b91..18270cd5ea43650421e11593452d0c9c4c5baf08 100644 (file)
@@ -1,4 +1,4 @@
-obj-$(CONFIG_PINCTRL_MVEBU)    += pinctrl-mvebu.o
+obj-y                          += pinctrl-mvebu.o
 obj-$(CONFIG_PINCTRL_DOVE)     += pinctrl-dove.o
 obj-$(CONFIG_PINCTRL_KIRKWOOD) += pinctrl-kirkwood.o
 obj-$(CONFIG_PINCTRL_ARMADA_370) += pinctrl-armada-370.o