]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
common: Add a prototype for s_init()
authorDiego Dorta <diego.dorta@nxp.com>
Thu, 5 Oct 2017 12:13:38 +0000 (09:13 -0300)
committerTom Rini <trini@konsulko.com>
Mon, 16 Oct 2017 13:42:51 +0000 (09:42 -0400)
When compiling with W=1 the following warning is observed:

arch/arm/mach-imx/mx6/soc.c:590:6: warning: no previous prototype for ‘s_init’ [-Wmissing-prototypes] void s_init(void)

Remove this warning by adding the function prototype into include/common.h file.

Signed-off-by: Diego Dorta <diego.dorta@nxp.com>
include/common.h

index 4b521e142a9e7d53c2093e4e160d5962a122bffe..e14e1daa88bfc3c04bfac2313204e5766bbee50e 100644 (file)
@@ -514,6 +514,8 @@ int is_core_valid (unsigned int);
  */
 int arch_cpu_init(void);
 
+void s_init(void);
+
 int    checkcpu      (void);
 int    checkicache   (void);
 int    checkdcache   (void);