]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit27dc6ec50bd9259e228fd0a6082a861ec6adbb73
treea0840a9dc8b425c26b9a3e19127cd460bb82a699
parentc4b12372ab3293cc16338fb537b43f0ffcc56335
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