Browse Source

dm: core: Include dt-decl.h automatically

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>
Simon Glass 3 years ago
parent
commit
910de1092f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      include/dt-structs.h

+ 2 - 0
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