linux/arch/arm/mach-omap2
Nishanth Menon d0eadf6d10 OMAP3+: sr_device: include pm header
omap_enable_smartreflex_on_init is meant to be used by boards
which would like to have SR enabled by default on the platform, while
omap_devinit_smartreflex is used by pm code, the protos are defined
in pm.h. This header should be included to ensure that sr_device
function definitions match the prototypes.

including pm.h fixes the sparse warnings (with CONFIG_OMAP_SMARTREFLEX=y):
arch/arm/mach-omap2/sr_device.c:138:13: warning: symbol 'omap_enable_smartreflex_on_init' was not declared. Should it be static?
arch/arm/mach-omap2/sr_device.c:143:12: warning: symbol 'omap_devinit_smartreflex' was not declared. Should it be static?

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
2011-01-07 13:33:06 -08:00
..
2011-01-06 19:58:28 -08:00
2010-12-07 16:26:57 -08:00
2010-12-21 14:30:40 -08:00
2010-12-22 14:31:47 -08:00
2011-01-06 19:58:28 -08:00
2011-01-06 22:32:52 +00:00
2010-12-21 14:30:40 -08:00
2010-12-21 20:01:54 -07:00
2010-12-17 15:13:44 -08:00
2010-10-22 10:22:16 -07:00
2010-12-22 14:31:47 -08:00
2011-01-06 19:58:28 -08:00