aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/pm.h
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2011-06-29 07:45:16 -0400
committerTony Lindgren <tony@atomide.com>2011-06-29 07:45:16 -0400
commit48cb1258e8b0f8c81cfb699b42326c5b2147b3f8 (patch)
tree6dc560f24eec8d303534d86b1e20d037df94a68d /arch/arm/mach-omap2/pm.h
parent332acd9e534e0bc8713d2cb90dd2d4d5f2485401 (diff)
parentec3cdb5baedf6bb3852c531426c1e95a13671dff (diff)
Merge branch 'for_3.1/pm-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm into devel-cleanup
Conflicts: arch/arm/mach-omap2/pm-debug.c arch/arm/mach-omap2/pm.h
Diffstat (limited to 'arch/arm/mach-omap2/pm.h')
-rw-r--r--arch/arm/mach-omap2/pm.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/arm/mach-omap2/pm.h b/arch/arm/mach-omap2/pm.h
index c3a367e3d010..babac19e3ec1 100644
--- a/arch/arm/mach-omap2/pm.h
+++ b/arch/arm/mach-omap2/pm.h
@@ -61,25 +61,15 @@ extern int omap3_pm_get_suspend_state(struct powerdomain *pwrdm);
61extern int omap3_pm_set_suspend_state(struct powerdomain *pwrdm, int state); 61extern int omap3_pm_set_suspend_state(struct powerdomain *pwrdm, int state);
62 62
63#ifdef CONFIG_PM_DEBUG 63#ifdef CONFIG_PM_DEBUG
64extern void omap2_pm_dump(int mode, int resume, unsigned int us);
65extern int omap2_pm_debug;
66extern u32 enable_off_mode; 64extern u32 enable_off_mode;
67extern u32 sleep_while_idle;
68#else 65#else
69#define omap2_pm_dump(mode, resume, us) do {} while (0);
70#define omap2_pm_debug 0
71#define enable_off_mode 0 66#define enable_off_mode 0
72#define sleep_while_idle 0
73#endif 67#endif
74 68
75#if defined(CONFIG_PM_DEBUG) && defined(CONFIG_DEBUG_FS) 69#if defined(CONFIG_PM_DEBUG) && defined(CONFIG_DEBUG_FS)
76extern void pm_dbg_update_time(struct powerdomain *pwrdm, int prev); 70extern void pm_dbg_update_time(struct powerdomain *pwrdm, int prev);
77extern int pm_dbg_regset_save(int reg_set);
78extern int pm_dbg_regset_init(int reg_set);
79#else 71#else
80#define pm_dbg_update_time(pwrdm, prev) do {} while (0); 72#define pm_dbg_update_time(pwrdm, prev) do {} while (0);
81#define pm_dbg_regset_save(reg_set) do {} while (0);
82#define pm_dbg_regset_init(reg_set) do {} while (0);
83#endif /* CONFIG_PM_DEBUG */ 73#endif /* CONFIG_PM_DEBUG */
84 74
85extern void omap24xx_idle_loop_suspend(void); 75extern void omap24xx_idle_loop_suspend(void);