[PATCH v4 10/42] dm: core: Include dt-decl.h automatically
Simon Glass
sjg at chromium.org
Mon Mar 15 05:25:20 CET 2021
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 at chromium.org>
---
(no changes since v1)
include/dt-structs.h | 2 ++
1 file changed, 2 insertions(+)
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
--
2.31.0.rc2.261.g7f71774620-goog
More information about the U-Boot
mailing list