Commit 026d7958ba6dc5ed4cd2c5ff507f55f3897cf41a

Authored by Diego Dorta
Committed by Tom Rini
1 parent a6e9810495

common: Add a prototype for s_init()

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>

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

... ... @@ -514,6 +514,8 @@
514 514 */
515 515 int arch_cpu_init(void);
516 516  
  517 +void s_init(void);
  518 +
517 519 int checkcpu (void);
518 520 int checkicache (void);
519 521 int checkdcache (void);