[PATCH v3 10/42] dm: core: Include dt-decl.h automatically

Simon Glass sjg at chromium.org
Mon Feb 8 05:17:35 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.478.g8a0d178c01-goog



More information about the U-Boot mailing list