aboutsummaryrefslogtreecommitdiff
path: root/include/dt-structs.h
diff options
context:
space:
mode:
authorSimon Glass2021-03-15 17:25:20 +1300
committerSimon Glass2021-03-26 17:03:08 +1300
commit910de1092f6e2febf5b9066f7ce437dc2303c1e0 (patch)
treeeec9e5fb4ab6121517ca830ef3386528a4171078 /include/dt-structs.h
parent354d2324635cb77b7bf9a9ad80c4d48b7761c4f7 (diff)
dm: core: Include dt-decl.h automatically
When dt-structs.h is used, include the dt-decl.h header as well, so that these declarations are available. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/dt-structs.h')
-rw-r--r--include/dt-structs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/dt-structs.h b/include/dt-structs.h
index f0e1c9cb901..f9ccaf56a46 100644
--- a/include/dt-structs.h
+++ b/include/dt-structs.h
@@ -24,7 +24,9 @@ struct phandle_2_arg {
uint idx;
int arg[2];
};
+
#include <generated/dt-structs-gen.h>
+#include <generated/dt-decl.h>
#endif
#endif