From fea5c561fa8f916576224b0d732c02ae94c767fe Mon Sep 17 00:00:00 2001 From: Fabien Parent Date: Mon, 31 Oct 2016 11:53:20 +0100 Subject: [PATCH] stm32l4x: pinmux: add support for STM32L4 Change-Id: Ie505fe285d21070a98f2032cfd800a97095efa88 Signed-off-by: Fabien Parent Signed-off-by: Kumar Gala --- drivers/pinmux/stm32/pinmux_stm32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinmux/stm32/pinmux_stm32.c b/drivers/pinmux/stm32/pinmux_stm32.c index 335920dd4ae..dfc13b4514c 100644 --- a/drivers/pinmux/stm32/pinmux_stm32.c +++ b/drivers/pinmux/stm32/pinmux_stm32.c @@ -61,7 +61,7 @@ static int enable_port(uint32_t port, struct device *clk) } /* TODO: Merge this and move the port clock to the soc file */ -#ifdef CONFIG_SOC_SERIES_STM32F1X +#if defined(CONFIG_SOC_SERIES_STM32F1X) || defined(CONFIG_SOC_SERIES_STM32L4X) clock_control_subsys_t subsys = stm32_get_port_clock(port); return clock_control_on(clk, subsys);