Message ID | 20200114142257.25499-1-alifer.wsdm@gmail.com |
---|---|
State | Accepted |
Commit | 5255f85c6efb62ec962e216a6d908f800622d60e |
Headers | show |
Series | imx8mm_evk: Include sys_proto.h header | expand |
> Add sys_proto.h header file to fix the following sparse warning: > board/freescale/imx8mm_evk/imx8mm_evk.c:59:5: warning: no previous > prototype for ‘board_mmc_get_env_dev’ [-Wmissing-prototypes] > Signed-off-by: Alifer Moraes <alifer.wsdm at gmail.com> Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic
diff --git a/board/freescale/imx8mm_evk/imx8mm_evk.c b/board/freescale/imx8mm_evk/imx8mm_evk.c index a0af550f5e..c5fd940eeb 100644 --- a/board/freescale/imx8mm_evk/imx8mm_evk.c +++ b/board/freescale/imx8mm_evk/imx8mm_evk.c @@ -8,6 +8,7 @@ #include <netdev.h> #include <asm/arch/clock.h> +#include <asm/arch/sys_proto.h> #include <asm/io.h> DECLARE_GLOBAL_DATA_PTR;
Add sys_proto.h header file to fix the following sparse warning: board/freescale/imx8mm_evk/imx8mm_evk.c:59:5: warning: no previous prototype for ‘board_mmc_get_env_dev’ [-Wmissing-prototypes] Signed-off-by: Alifer Moraes <alifer.wsdm at gmail.com> --- board/freescale/imx8mm_evk/imx8mm_evk.c | 1 + 1 file changed, 1 insertion(+)