pinctrl: stm32: Fix compile testing selection
authorMaxime Coquelin <mcoquelin.stm32@gmail.com>
Mon, 8 Feb 2016 17:57:39 +0000 (18:57 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 9 Feb 2016 09:53:35 +0000 (10:53 +0100)
commit4afe26845cc291419a2e0af9b4279157a4cd53a7
tree9fd2f8748493840dce6a1f78266afac5cc770bd4
parent38a3fbf16a47868231894cdabef862d2f4e7b40a
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>
drivers/pinctrl/Makefile