From: Masahiro Yamada Date: Mon, 24 Feb 2020 17:22:27 +0000 (+0900) Subject: global_data.h: make self-contained X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=b36992fb6b6d2d53a2cf1a5158ad6ed1335b0de9;p=u-boot.git global_data.h: make self-contained The compiler never knows what 'bd_t' is without including . By changing it to (struct bd_info), the compiler learns it is struct. Signed-off-by: Masahiro Yamada --- 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 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! */