Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156817
b: refs/heads/master
c: 10f90ed
h: refs/heads/master
i:
  156815: de1f775
v: v3
  • Loading branch information
Kevin Hilman committed Aug 5, 2009
1 parent 1194e98 commit 279da60
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 040fed059c34da5115790609f1a038fc9aec88d1
refs/heads/master: 10f90ed2d727c0f344d910c02c9726d0481d9b00
6 changes: 6 additions & 0 deletions trunk/arch/arm/mach-omap2/pm34xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@
struct power_state {
struct powerdomain *pwrdm;
u32 next_state;
#ifdef CONFIG_SUSPEND
u32 saved_state;
#endif
struct list_head node;
};

Expand Down Expand Up @@ -293,6 +295,7 @@ static void omap3_pm_idle(void)
local_irq_enable();
}

#ifdef CONFIG_SUSPEND
static int omap3_pm_prepare(void)
{
disable_hlt();
Expand Down Expand Up @@ -366,6 +369,7 @@ static struct platform_suspend_ops omap_pm_ops = {
.finish = omap3_pm_finish,
.valid = suspend_valid_only_mem,
};
#endif /* CONFIG_SUSPEND */


/**
Expand Down Expand Up @@ -710,7 +714,9 @@ static int __init omap3_pm_init(void)
_omap_sram_idle = omap_sram_push(omap34xx_cpu_suspend,
omap34xx_cpu_suspend_sz);

#ifdef CONFIG_SUSPEND
suspend_set_ops(&omap_pm_ops);
#endif /* CONFIG_SUSPEND */

pm_idle = omap3_pm_idle;

Expand Down

0 comments on commit 279da60

Please sign in to comment.