On 27/09/2017 18:12, Diego Dorta wrote:
> When compiling with W=1 the following warning is observed:
>
> board/freescale/mx6sabresd/mx6sabresd.c:586:5: warning: no previous prototype
> for ‘board_ehci_hcd_init’ [-Wmissing-prototypes] int board_ehci_hcd_init(int
> port)
>
> Remove this warning by including .
>
> Signed-off-by: Diego Dorta
> ---
> board/freescale/mx6sabresd/mx6sabresd.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/board/freescale/mx6sabresd/mx6sabresd.c
> b/board/freescale/mx6sabresd/mx6sabresd.c
> index 0d31235..6c9524d 100644
> --- a/board/freescale/mx6sabresd/mx6sabresd.c
> +++ b/board/freescale/mx6sabresd/mx6sabresd.c
> @@ -30,6 +30,7 @@
> #include
> #include "../common/pfuze.h"
> #include
> +#include
>
> DECLARE_GLOBAL_DATA_PTR;
>
>
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