drivers: timer: stm32_lptim: use generic LL headers

Use generic LL headers instead of depending on soc.h.

Signed-off-by: Martin Jäger <martin@libre.solar>
This commit is contained in:
Martin Jäger 2020-11-20 18:41:15 +01:00 committed by Carles Cufí
commit 53af1aab62
3 changed files with 2 additions and 10 deletions

View file

@ -6,6 +6,8 @@
*/ */
#include <soc.h> #include <soc.h>
#include <stm32_ll_lptim.h>
#include <stm32_ll_system.h>
#include <drivers/clock_control.h> #include <drivers/clock_control.h>
#include <drivers/clock_control/stm32_clock_control.h> #include <drivers/clock_control/stm32_clock_control.h>
#include <drivers/timer/system_timer.h> #include <drivers/timer/system_timer.h>

View file

@ -46,11 +46,6 @@
#include <stm32l4xx_ll_pwr.h> #include <stm32l4xx_ll_pwr.h>
#endif /* CONFIG_USB */ #endif /* CONFIG_USB */
#ifdef CONFIG_STM32_LPTIM_TIMER
#include <stm32l4xx_ll_lptim.h>
#include <stm32l4xx_ll_system.h>
#endif
#endif /* !_ASMLANGUAGE */ #endif /* !_ASMLANGUAGE */
#endif /* _STM32L4X_SOC_H_ */ #endif /* _STM32L4X_SOC_H_ */

View file

@ -33,11 +33,6 @@
#include <stm32wbxx_ll_system.h> #include <stm32wbxx_ll_system.h>
#endif /* CONFIG_CLOCK_CONTROL_STM32_CUBE */ #endif /* CONFIG_CLOCK_CONTROL_STM32_CUBE */
#ifdef CONFIG_STM32_LPTIM_TIMER
#include <stm32wbxx_ll_lptim.h>
#include <stm32wbxx_ll_system.h>
#endif
#endif /* !_ASMLANGUAGE */ #endif /* !_ASMLANGUAGE */
#endif /* _STM32WBX_SOC_H_ */ #endif /* _STM32WBX_SOC_H_ */