[PATCH 5/5] omap2+: pm_bus: make functions used as pointers as static
tony at atomide.com
Thu Jan 6 17:43:26 EST 2011
* Kevin Hilman <khilman at ti.com> [110104 16:39]:
> Nishanth Menon <nm at ti.com> writes:
> > omap_pm_runtime_suspend and omap_pm_runtime_resume are used
> > as function pointers and does not really need to be exposed
> > to the world.
> > Fixes sparse warnings:
> > arch/arm/mach-omap2/pm_bus.c:23:5: warning: symbol 'omap_pm_runtime_suspend' was not declared. Should it be static?
> > arch/arm/mach-omap2/pm_bus.c:40:5: warning: symbol 'omap_pm_runtime_resume' was not declared. Should it be static?
> > Signed-off-by: Nishanth Menon <nm at ti.com>
> Thanks, will queue this one in my pm-fixes branch for 2.6.38-rc.
I'll take patches 1 - 4.
More information about the linux-arm-kernel