summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/omap3-restart.c
diff options
context:
space:
mode:
authorSekhar Nori2015-07-11 16:59:16 +0200
committerPaul Walmsley2015-07-16 07:43:41 +0200
commit9e5d46b0510e686550c486c410491291c67e8f0e (patch)
tree99bf2f29af6fc3c90f22114d3561fb2f725e0cd3 /arch/arm/mach-omap2/omap3-restart.c
parentARM: OMAP2+: sparse: add missing static declaration (diff)
downloadkernel-qcow2-linux-9e5d46b0510e686550c486c410491291c67e8f0e.tar.gz
kernel-qcow2-linux-9e5d46b0510e686550c486c410491291c67e8f0e.tar.xz
kernel-qcow2-linux-9e5d46b0510e686550c486c410491291c67e8f0e.zip
ARM: OMAP2+: sparse: add missing function declarations
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>
Diffstat (limited to 'arch/arm/mach-omap2/omap3-restart.c')
-rw-r--r--arch/arm/mach-omap2/omap3-restart.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap3-restart.c b/arch/arm/mach-omap2/omap3-restart.c
index 103a49f68bcb..4bdd22edb96b 100644
--- a/arch/arm/mach-omap2/omap3-restart.c
+++ b/arch/arm/mach-omap2/omap3-restart.c
@@ -14,6 +14,7 @@
#include <linux/init.h>
#include <linux/reboot.h>
+#include "common.h"
#include "control.h"
#include "prm.h"