On 17:40-20130301, Santosh Shilimkar wrote: > arch/arm/mach-omap2/omap-mpuss-lowpower.c | 56 +++++++++++++++++++++++------ > 1 file changed, 45 insertions(+), 11 deletions(-) > > diff --git a/arch/arm/mach-omap2/omap-mpuss-lowpower.c b/arch/arm/mach-omap2/omap-mpuss-lowpower.c > index abdd0f6..ee8a1e4 100644 > --- a/arch/arm/mach-omap2/omap-mpuss-lowpower.c > +++ b/arch/arm/mach-omap2/omap-mpuss-lowpower.c > @@ -71,10 +71,37 @@ struct omap4_cpu_pm_info { > void (*secondary_startup)(void); > }; > > +struct cpu_pm_ops { > + int (*finish_suspend)(unsigned long cpu_state); > + void (*resume)(void); > + void (*scu_prepare)(unsigned int cpu_id, unsigned int cpu_state); > +}; > + > +extern int omap4_finish_suspend(unsigned long cpu_state); > +extern void omap4_cpu_resume(void); > + > static DEFINE_PER_CPU(struct omap4_cpu_pm_info, omap4_pm_info); > static struct powerdomain *mpuss_pd; > static void __iomem *sar_base; > > +static int default_finish_suspend(unsigned long cpu_state) > +{ > + omap_do_wfi(); > + return 0; > +} > + > +static void dummy_cpu_resume(void) > +{} > + > +void dummy_scu_prepare(unsigned int cpu_id, unsigned int cpu_state) static? > +{} > + > +struct cpu_pm_ops omap_pm_ops = { > + .finish_suspend = default_finish_suspend, > + .resume = dummy_cpu_resume, > + .scu_prepare = dummy_scu_prepare, > +}; > + Otherwise, Acked-by: Nishanth Menon <nm@xxxxxx> -- Regards, Nishanth Menon -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html