]> Git Repo - J-u-boot.git/commitdiff
common: Add a prototype for s_init()
authorDiego Dorta <[email protected]>
Thu, 5 Oct 2017 12:13:38 +0000 (09:13 -0300)
committerTom Rini <[email protected]>
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 <[email protected]>
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);
This page took 0.033884 seconds and 4 git commands to generate.