[PATCH v2 09/37] dm: core: Include dt-decl.h automatically

Simon Glass sjg at chromium.org
Wed Feb 3 17:43:25 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.30.0.365.g02bc693789-goog



More information about the U-Boot mailing list