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:
parent
f818b0478d
commit
d056be2b38
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@
|
||||||
#define LPTIM (LPTIM_TypeDef *) DT_INST_REG_ADDR(0)
|
#define LPTIM (LPTIM_TypeDef *) DT_INST_REG_ADDR(0)
|
||||||
|
|
||||||
#if DT_INST_NUM_CLOCKS(0) == 1
|
#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[] = {
|
static const struct stm32_pclken lptim_clk[] = {
|
||||||
STM32_CLOCK_INFO(0, DT_DRV_INST(0)),
|
STM32_CLOCK_INFO(0, DT_DRV_INST(0)),
|
||||||
/* Use Kconfig to configure source clocks fields */
|
/* Use Kconfig to configure source clocks fields */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue