Browse Source

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>
pull/49864/head
Erwan Gouriou 3 years ago committed by Fabio Baltieri
parent
commit
d056be2b38
  1. 1
      drivers/timer/stm32_lptim_timer.c

1
drivers/timer/stm32_lptim_timer.c

@ -28,6 +28,7 @@ @@ -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 */

Loading…
Cancel
Save