drivers: uart: stm32 uart driver must include ll_exti with CONFIG_PM

Missing include to compile correctly when the
CONFIG_PM && IS_UART_WAKEUP_FROMSTOP_INSTANCE are defined

Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
Francois Ramu 2022-09-16 10:41:18 +02:00 committed by Fabio Baltieri
commit 9926b90bf6

View file

@ -35,6 +35,9 @@
#include <stm32_ll_usart.h> #include <stm32_ll_usart.h>
#include <stm32_ll_lpuart.h> #include <stm32_ll_lpuart.h>
#if defined(CONFIG_PM) && defined(IS_UART_WAKEUP_FROMSTOP_INSTANCE)
#include <stm32_ll_exti.h>
#endif /* CONFIG_PM */
#include <zephyr/logging/log.h> #include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(uart_stm32, CONFIG_UART_LOG_LEVEL); LOG_MODULE_REGISTER(uart_stm32, CONFIG_UART_LOG_LEVEL);