[PATCH] global_data.h: make <asm-generic/global_data.h> self-contained

Tom Rini trini at konsulko.com
Tue Mar 17 16:28:13 CET 2020


On Tue, Feb 25, 2020 at 02:22:27AM +0900, Masahiro Yamada wrote:

> 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 at kernel.org>

Applied to u-boot/next, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200317/29bb983c/attachment.sig>


More information about the U-Boot mailing list