]> git.sur5r.net Git - u-boot/commitdiff
image.h: add forward declaration of struct fdt_region
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 21 Mar 2018 09:03:35 +0000 (18:03 +0900)
committerSimon Glass <sjg@chromium.org>
Sun, 1 Apr 2018 14:19:10 +0000 (22:19 +0800)
This header needs to know 'fdt_region' is a struct for the
fit_region_make_list() prototype.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/image.h

index 621abf647f3b5d7710f24183b70fe8284fae7e68..a6f82aebfee024366e3ea11c90d7ed9c8d6c0893 100644 (file)
@@ -21,6 +21,7 @@
 
 /* Define this to avoid #ifdefs later on */
 struct lmb;
+struct fdt_region;
 
 #ifdef USE_HOSTCC
 #include <sys/types.h>