From: Diego Dorta Date: Wed, 27 Sep 2017 16:12:37 +0000 (-0300) Subject: mx6: soc: Include header file X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=916afc51de3c062636bcd80db2f51b78166993a6;p=bsp%2Fu-boot.git mx6: soc: Include header file 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 (cherry picked from commit d0b3b5b4fcb4b7d19f498045073a706676f4287e) --- diff --git a/arch/arm/mach-imx/mx6/soc.c b/arch/arm/mach-imx/mx6/soc.c index b72466808c..ad72c12511 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