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 f0e1c9c..f9ccaf5 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