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>
This commit is contained in:
Simon Glass 2021-03-15 17:25:20 +13:00
parent 354d232463
commit 910de1092f
1 changed files with 2 additions and 0 deletions

View 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