]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dm: core: Include dt-decl.h automatically
authorSimon Glass <sjg@chromium.org>
Mon, 15 Mar 2021 04:25:20 +0000 (17:25 +1300)
committerSimon Glass <sjg@chromium.org>
Fri, 26 Mar 2021 04:03:08 +0000 (17:03 +1300)
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>
include/dt-structs.h

index f0e1c9cb901c88ba989f008e88be4caf0bb2cfd9..f9ccaf56a465316f7c656ca146c53d8146b091ef 100644 (file)
@@ -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