summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/Makefile
diff options
context:
space:
mode:
authorMaxime Coquelin <mcoquelin.stm32@gmail.com>2016-02-08 12:57:39 -0500
committerLinus Walleij <linus.walleij@linaro.org>2016-02-09 04:53:35 -0500
commit4afe26845cc291419a2e0af9b4279157a4cd53a7 (patch)
tree9fd2f8748493840dce6a1f78266afac5cc770bd4 /drivers/pinctrl/Makefile
parent38a3fbf16a47868231894cdabef862d2f4e7b40a (diff)
pinctrl: stm32: Fix compile testing selection
While selecting the driver for compile testing seemed possible, the driver was not compiled because the driver directory was only added if ARCH_STM32 was selected. This patch now makes the pinctrl Makefile to add stm32 directory if PINCTRL_STM32 is selected. Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/Makefile')
-rw-r--r--drivers/pinctrl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/Makefile b/drivers/pinctrl/Makefile
index 8adc235e1a96..7ea62ef0c4e5 100644
--- a/drivers/pinctrl/Makefile
+++ b/drivers/pinctrl/Makefile
@@ -46,7 +46,7 @@ obj-$(CONFIG_ARCH_QCOM) += qcom/
46obj-$(CONFIG_PINCTRL_SAMSUNG) += samsung/ 46obj-$(CONFIG_PINCTRL_SAMSUNG) += samsung/
47obj-$(CONFIG_PINCTRL_SH_PFC) += sh-pfc/ 47obj-$(CONFIG_PINCTRL_SH_PFC) += sh-pfc/
48obj-$(CONFIG_PINCTRL_SPEAR) += spear/ 48obj-$(CONFIG_PINCTRL_SPEAR) += spear/
49obj-$(CONFIG_ARCH_STM32) += stm32/ 49obj-$(CONFIG_PINCTRL_STM32) += stm32/
50obj-$(CONFIG_PINCTRL_SUNXI) += sunxi/ 50obj-$(CONFIG_PINCTRL_SUNXI) += sunxi/
51obj-$(CONFIG_PINCTRL_UNIPHIER) += uniphier/ 51obj-$(CONFIG_PINCTRL_UNIPHIER) += uniphier/
52obj-$(CONFIG_ARCH_VT8500) += vt8500/ 52obj-$(CONFIG_ARCH_VT8500) += vt8500/