From: Maxime Coquelin <mcoquelin.stm32@gmail.com> Date: 2016-02-08 17:57:53
This two-patches series fixes two problems on stm32 pinctrl driver:
1 - As reported by Arnd, there is a missing dependency with DT Bindings
headers on Linus' pinctrl/devel branch. This dependency is in fact not needed,
so the first patch removes it.
2 - The driver could be selected for compile testing via menuconfig, but
the Makefile only selected stm32 driver directory if ARCH_STM32 was selected.
The second patch selects the stm32 driver if PINCTRL_STM32 is selected.
Regards,
Maxime
Maxime Coquelin (2):
pinctrl: stm32: Remove dependency with DT bindings header files
pinctrl: stm32: Fix compile testing selection
drivers/pinctrl/Makefile | 2 +-
drivers/pinctrl/stm32/pinctrl-stm32.c | 2 --
drivers/pinctrl/stm32/pinctrl-stm32.h | 8 ++++++++
3 files changed, 9 insertions(+), 3 deletions(-)
--
1.9.1
From: Maxime Coquelin <mcoquelin.stm32@gmail.com> Date: 2016-02-08 17:57:56
Some macros where defined in DT bindings headers, whereas only used
in the driver.
This patch moves these macros to the driver side.
Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
---
drivers/pinctrl/stm32/pinctrl-stm32.c | 2 --
drivers/pinctrl/stm32/pinctrl-stm32.h | 8 ++++++++
2 files changed, 8 insertions(+), 2 deletions(-)
On Mon, Feb 8, 2016 at 6:57 PM, Maxime Coquelin
[off-list ref] wrote:
Some macros where defined in DT bindings headers, whereas only used
in the driver.
This patch moves these macros to the driver side.
Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
From: Maxime Coquelin <mcoquelin.stm32@gmail.com> Date: 2016-02-08 17:59:32
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>
---
drivers/pinctrl/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
On Mon, Feb 8, 2016 at 6:57 PM, Maxime Coquelin
[off-list ref] wrote:
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>