drivers: serial: stm32: Make header file self-contained
Move select include directives from source to header file, as these pull data types required by the struct definitions contained within it. This promotes a more modular file structure. Signed-off-by: Kenneth J. Miller <ken@miller.ec>
This commit is contained in:
parent
5689916a70
commit
2531d70ad2
2 changed files with 2 additions and 2 deletions
|
@ -20,9 +20,7 @@
|
|||
#include <soc.h>
|
||||
#include <zephyr/init.h>
|
||||
#include <zephyr/drivers/interrupt_controller/exti_stm32.h>
|
||||
#include <zephyr/drivers/uart.h>
|
||||
#include <zephyr/drivers/clock_control.h>
|
||||
#include <zephyr/drivers/reset.h>
|
||||
#include <zephyr/pm/policy.h>
|
||||
#include <zephyr/pm/device.h>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue