diff mbox series

[3/5] image.h: add forward declaration of struct fdt_region

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

Commit Message

Masahiro Yamada March 21, 2018, 9:03 a.m. UTC
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(+)

Comments

Simon Glass March 23, 2018, 2:30 p.m. UTC | #1
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>
Simon Glass April 1, 2018, 2:29 p.m. UTC | #2
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 mbox series

Patch

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>