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:
Yong Cong Sin 2023-09-26 13:55:51 +08:00 committed by Carles Cufí
commit 3300b31de8
2 changed files with 6 additions and 0 deletions

View file

@ -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

View file

@ -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