drivers: usb: stm32: 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:
parent
004bee1fa8
commit
0636b42c81
2 changed files with 4 additions and 5 deletions
|
@ -45,6 +45,10 @@
|
|||
*/
|
||||
|
||||
#include <soc.h>
|
||||
#include <stm32_ll_bus.h>
|
||||
#include <stm32_ll_pwr.h>
|
||||
#include <stm32_ll_rcc.h>
|
||||
#include <stm32_ll_system.h>
|
||||
#include <string.h>
|
||||
#include <usb/usb_device.h>
|
||||
#include <drivers/clock_control/stm32_clock_control.h>
|
||||
|
|
|
@ -41,11 +41,6 @@
|
|||
#include <stm32l4xx_ll_pwr.h>
|
||||
#endif /* CONFIG_CLOCK_CONTROL_STM32_CUBE */
|
||||
|
||||
#ifdef CONFIG_USB
|
||||
/* Required to remove USB transceiver supply isolation */
|
||||
#include <stm32l4xx_ll_pwr.h>
|
||||
#endif /* CONFIG_USB */
|
||||
|
||||
#endif /* !_ASMLANGUAGE */
|
||||
|
||||
#endif /* _STM32L4X_SOC_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue