boards: ti_k3: prevent header dependencies
These headers are using things like `uint32_t` & devicetree macros, so they should include the `devicetree.h` & `types.h`. Otherwise they depend on the parent file to have those headers included before they are included. Signed-off-by: Yong Cong Sin <ycsin@meta.com>
This commit is contained in:
parent
b49d0addc5
commit
3300b31de8
2 changed files with 6 additions and 0 deletions
|
@ -7,6 +7,9 @@
|
|||
#ifndef ZEPHYR_SOC_ARM_TI_K3_PINCTRL_SOC_H_
|
||||
#define ZEPHYR_SOC_ARM_TI_K3_PINCTRL_SOC_H_
|
||||
|
||||
#include <zephyr/devicetree.h>
|
||||
#include <zephyr/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
|
|
@ -7,6 +7,9 @@
|
|||
#ifndef ZEPHYR_SOC_ARM64_TI_K3_PINCTRL_SOC_H_
|
||||
#define ZEPHYR_SOC_ARM64_TI_K3_PINCTRL_SOC_H_
|
||||
|
||||
#include <zephyr/devicetree.h>
|
||||
#include <zephyr/types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue