From c49fa34e5bbc6943d385e74d4fb9ea7e5afecf10 Mon Sep 17 00:00:00 2001 From: Diego Dorta Date: Wed, 27 Sep 2017 13:12:37 -0300 Subject: [PATCH] mx6: soc: Include header file MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 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 -- 2.39.5