On 27/09/2017 18:12, Diego Dorta wrote:
> When compiling with W=1 the following warning is observed:
>
> arch/arm/mach-imx/mx6/soc.c:213:12: warning: no previous prototype for
> ‘get_board_rev’ [-Wmissing-prototypes] u32 __weak get_board_rev(void)
>
> Fix the build warning by including .
>
> Signed-off-by: Diego Dorta
> ---
> arch/arm/mach-imx/mx6/soc.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/mach-imx/mx6/soc.c b/arch/arm/mach-imx/mx6/soc.c
> index b724668..ad72c12 100644
> --- a/arch/arm/mach-imx/mx6/soc.c
> +++ b/arch/arm/mach-imx/mx6/soc.c
> @@ -13,6 +13,7 @@
> #include
> #include
> #include
> +#include
> #include
> #include
> #include
>
Applied to u-boot-imx, -master, thanks !
Best regards,
Stefano Babic
--
=
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sba...@denx.de
=
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot