From 910de1092f6e2febf5b9066f7ce437dc2303c1e0 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 15 Mar 2021 17:25:20 +1300 Subject: [PATCH] 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 Signed-off-by: Simon Glass --- include/dt-structs.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/dt-structs.h b/include/dt-structs.h index f0e1c9cb90..f9ccaf56a4 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 +#include #endif #endif