From d056be2b38a9984b32e8d5ef357101340edda34b Mon Sep 17 00:00:00 2001 From: Erwan Gouriou Date: Mon, 22 Aug 2022 16:50:07 +0200 Subject: [PATCH] drivers/timer: stm32: Re-instantiate warning message on lptim configuration Following transition of lptim timer configuration from Kconfig to DT, a warning message was set to inform users about this deprecation. Due to errors in CI this message had to be removed while fixing the related issues. Now these issues are fixed, set the deprecation message again. Signed-off-by: Erwan Gouriou --- drivers/timer/stm32_lptim_timer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/timer/stm32_lptim_timer.c b/drivers/timer/stm32_lptim_timer.c index b9c255e3e0c..e2a14d65d61 100644 --- a/drivers/timer/stm32_lptim_timer.c +++ b/drivers/timer/stm32_lptim_timer.c @@ -28,6 +28,7 @@ #define LPTIM (LPTIM_TypeDef *) DT_INST_REG_ADDR(0) #if DT_INST_NUM_CLOCKS(0) == 1 +#warning Kconfig for LPTIM source clock (LSI/LSE) is deprecated, use device tree. static const struct stm32_pclken lptim_clk[] = { STM32_CLOCK_INFO(0, DT_DRV_INST(0)), /* Use Kconfig to configure source clocks fields */