From 9926b90bf6c3642cc37e3b91bf859f75b25a3169 Mon Sep 17 00:00:00 2001 From: Francois Ramu Date: Fri, 16 Sep 2022 10:41:18 +0200 Subject: [PATCH] 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 --- drivers/serial/uart_stm32.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/serial/uart_stm32.c b/drivers/serial/uart_stm32.c index 87c5b049036..12cd777865e 100644 --- a/drivers/serial/uart_stm32.c +++ b/drivers/serial/uart_stm32.c @@ -35,6 +35,9 @@ #include #include +#if defined(CONFIG_PM) && defined(IS_UART_WAKEUP_FROMSTOP_INSTANCE) +#include +#endif /* CONFIG_PM */ #include LOG_MODULE_REGISTER(uart_stm32, CONFIG_UART_LOG_LEVEL);