[U-Boot] [PATCH 3/5] image.h: add forward declaration of struct fdt_region

Masahiro Yamada yamada.masahiro at socionext.com
Wed Mar 21 09:03:35 UTC 2018


This header needs to know 'fdt_region' is a struct for the
fit_region_make_list() prototype.

Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
---

 include/image.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/image.h b/include/image.h
index 621abf6..a6f82ae 100644
--- a/include/image.h
+++ b/include/image.h
@@ -21,6 +21,7 @@
 
 /* Define this to avoid #ifdefs later on */
 struct lmb;
+struct fdt_region;
 
 #ifdef USE_HOSTCC
 #include <sys/types.h>
-- 
2.7.4



More information about the U-Boot mailing list