pinctrl: pxa: guard sub-directory with CONFIG_PINCTRL_PXA
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 23 Jan 2016 15:31:08 +0000 (00:31 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 28 Jan 2016 10:23:51 +0000 (11:23 +0100)
CONFIG_PINCTRL_PXA is more suitable than CONFIG_ARCH_PXA
to guard the drivers/pinctrl/pxa/ directory.

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

index d4134038cbf9cebf8adf342f53c55cc932f7047c..ab66e3575193fd918b4bb6a917acda5ad15d2c0d 100644 (file)
@@ -46,7 +46,7 @@ obj-y                         += freescale/
 obj-$(CONFIG_X86)              += intel/
 obj-$(CONFIG_PINCTRL_MVEBU)    += mvebu/
 obj-y                          += nomadik/
-obj-$(CONFIG_ARCH_PXA)         += pxa/
+obj-$(CONFIG_PINCTRL_PXA)      += pxa/
 obj-$(CONFIG_ARCH_QCOM)                += qcom/
 obj-$(CONFIG_PINCTRL_SAMSUNG)  += samsung/
 obj-$(CONFIG_PINCTRL_SH_PFC)   += sh-pfc/