diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-02-24 20:22:27 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-03-16 19:49:09 +0300 |
commit | b36992fb6b6d2d53a2cf1a5158ad6ed1335b0de9 (patch) | |
tree | a0840a9dc8b425c26b9a3e19127cd460bb82a699 /include/asm-generic/global_data.h | |
parent | 7a212e56170bcf840d088b48f5010f1456203449 (diff) | |
download | u-boot-b36992fb6b6d2d53a2cf1a5158ad6ed1335b0de9.tar.xz |
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>
Diffstat (limited to 'include/asm-generic/global_data.h')
-rw-r--r-- | include/asm-generic/global_data.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h index 5d027329fe..d9e220cfe3 100644 --- a/include/asm-generic/global_data.h +++ b/include/asm-generic/global_data.h @@ -25,7 +25,7 @@ #include <linux/list.h> typedef struct global_data { - bd_t *bd; + struct bd_info *bd; unsigned long flags; unsigned int baudrate; unsigned long cpu_clk; /* CPU clock in Hz! */ |