[PATCH 09/30] dm: core: Include dt-decl.h automatically
Simon Glass
sjg at chromium.org
Thu Dec 31 05:09:39 CET 2020
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>
---
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.29.2.729.g45daf8777d-goog
More information about the U-Boot
mailing list