soc: stm32l4: Factorize includes declarations for GPIO driver
Group #include declarations for CONFIG_GPIO_STM32 Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
a36a478954
commit
d65e54da5e
1 changed files with 2 additions and 5 deletions
|
@ -33,11 +33,6 @@
|
||||||
#include <stm32l4xx_ll_exti.h>
|
#include <stm32l4xx_ll_exti.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_GPIO_STM32
|
|
||||||
/* Required to enable VDDio2 for port G */
|
|
||||||
#include <stm32l4xx_ll_pwr.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef CONFIG_SERIAL_HAS_DRIVER
|
#ifdef CONFIG_SERIAL_HAS_DRIVER
|
||||||
#include <stm32l4xx_ll_usart.h>
|
#include <stm32l4xx_ll_usart.h>
|
||||||
#include <stm32l4xx_ll_lpuart.h>
|
#include <stm32l4xx_ll_lpuart.h>
|
||||||
|
@ -84,6 +79,8 @@
|
||||||
|
|
||||||
#ifdef CONFIG_GPIO_STM32
|
#ifdef CONFIG_GPIO_STM32
|
||||||
#include <stm32l4xx_ll_gpio.h>
|
#include <stm32l4xx_ll_gpio.h>
|
||||||
|
/* Required to enable VDDio2 for port G */
|
||||||
|
#include <stm32l4xx_ll_pwr.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ADC_STM32
|
#ifdef CONFIG_ADC_STM32
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue