drivers: nxp_s32: add missing soc.h inclusion
Some NXP S32 shim drivers are using macros defined in soc/arm/nxp_s32/*/soc.h but not including soc.h. Those still can be built because the header file is included indirectly by some other header files. This is very fragile, it should be included directly Signed-off-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
This commit is contained in:
parent
df6a9f2d30
commit
a39d2dc9d5
|
@ -6,6 +6,7 @@
|
|||
|
||||
#define DT_DRV_COMPAT nxp_s32_siul2_eirq
|
||||
|
||||
#include <soc.h>
|
||||
#include <zephyr/irq.h>
|
||||
#include <zephyr/sys/sys_io.h>
|
||||
#include <zephyr/drivers/pinctrl.h>
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
#define DT_DRV_COMPAT nxp_s32_linflexd
|
||||
|
||||
#include <soc.h>
|
||||
#include <zephyr/irq.h>
|
||||
#include <zephyr/drivers/uart.h>
|
||||
#include <zephyr/drivers/pinctrl.h>
|
||||
|
|
Loading…
Reference in a new issue