Message ID | 1521623017-29312-4-git-send-email-yamada.masahiro@socionext.com |
---|---|
State | Accepted |
Commit | 641599a63df258c3e3cb259c75cdada0cc009d56 |
Headers | show |
Series | libfdt: make lib/libfdt/ more synced with scripts/dtc/libfdt/ | expand |
On 21 March 2018 at 03:03, Masahiro Yamada <yamada.masahiro@socionext.com> wrote: > 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> > --- > > include/image.h | 1 + > 1 file changed, 1 insertion(+) Reviewed-by: Simon Glass <sjg@chromium.org>
On 23 March 2018 at 22:30, Simon Glass <sjg@chromium.org> wrote: > On 21 March 2018 at 03:03, Masahiro Yamada > <yamada.masahiro@socionext.com> wrote: >> 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> >> --- >> >> include/image.h | 1 + >> 1 file changed, 1 insertion(+) > > Reviewed-by: Simon Glass <sjg@chromium.org> Applied to u-boot-dm, thanks!
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>
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> --- include/image.h | 1 + 1 file changed, 1 insertion(+)