global_data.h: make <asm-generic/global_data.h> self-contained
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 24 Feb 2020 17:22:27 +0000 (02:22 +0900)
committerTom Rini <trini@konsulko.com>
Mon, 16 Mar 2020 16:49:09 +0000 (12:49 -0400)
commitb36992fb6b6d2d53a2cf1a5158ad6ed1335b0de9
treea0840a9dc8b425c26b9a3e19127cd460bb82a699
parent7a212e56170bcf840d088b48f5010f1456203449
global_data.h: make <asm-generic/global_data.h> self-contained

The compiler never knows what 'bd_t' is without including <asm/u-boot.h>.

By changing it to (struct bd_info), the compiler learns it is struct.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
include/asm-generic/global_data.h