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)
commit9e5d46b0510e686550c486c410491291c67e8f0e
tree99bf2f29af6fc3c90f22114d3561fb2f725e0cd3
parentf734a9b3b19e01d598d03a336de32a59a52c1575
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>
arch/arm/mach-omap2/omap3-restart.c
arch/arm/mach-omap2/omap4-restart.c