ARM: OMAP2+: sparse: add missing function declarations
authorSekhar Nori <nsekhar@ti.com>
Sat, 11 Jul 2015 14:59:16 +0000 (20:29 +0530)
committerPaul Walmsley <paul@pwsan.com>
Thu, 16 Jul 2015 05:43:41 +0000 (23:43 -0600)
omap3xxx_restart() and omap44xx_restart() are global
functions declared in common.h. Include this file
in omap3-restart.c and omap4-restart.c to prevent
sparse warnings of type:

arch/arm/mach-omap2/omap4-restart.c:22:6: warning: symbol 'omap44xx_restart' was not declared. Should it be static?

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Reviewed-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap3-restart.c
arch/arm/mach-omap2/omap4-restart.c

index 103a49f68bcb34ee60fc03ed94299df9bc2037d7..4bdd22edb96b353ac1bfb297ed6abf1bc2ce20ea 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/init.h>
 #include <linux/reboot.h>
 
+#include "common.h"
 #include "control.h"
 #include "prm.h"
 
index a99e7f7fb5bec2a44920d3c34c5ea327a08f57f1..e17136a50e271702863e640cf4d79c99fad688ec 100644 (file)
@@ -9,6 +9,7 @@
 
 #include <linux/types.h>
 #include <linux/reboot.h>
+#include "common.h"
 #include "prm.h"
 
 /**
This page took 0.031065 seconds and 5 git commands to generate.