Re: [PATCH 2/2] ARM: OMAP2+: sparse: add missing function declarations

2015-07-15 Thread Paul Walmsley
On Sat, 11 Jul 2015, Sekhar Nori wrote: 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

[PATCH 2/2] ARM: OMAP2+: sparse: add missing function declarations

2015-07-11 Thread Sekhar Nori
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?