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 <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2022-08-22 16:50:07 +02:00 committed by Fabio Baltieri
commit d056be2b38

View file

@ -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 */