summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/pm.h
diff options
context:
space:
mode:
authorTero Kristo <tero.kristo@nokia.com>2008-11-26 12:26:24 +0200
committerKevin Hilman <khilman@deeprootsystems.com>2009-09-02 15:08:25 -0700
commit68d4778c701b7e22ddfd64e3afb6628c92718ad2 (patch)
treec61556bd625a4c62f4429d00088f7abbae2d5a52 /arch/arm/mach-omap2/pm.h
parent2811d6b3237c9b77007a6b2b10ee5b576da0574e (diff)
downloadlinux-68d4778c701b7e22ddfd64e3afb6628c92718ad2.tar.bz2
OMAP: PM: Added suspend target state control to debugfs for OMAP3
Target state can be read / programmed via files under: [debugfs]/pm_debug/[pwrdm]/suspend Signed-off-by: Tero Kristo <tero.kristo@nokia.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-omap2/pm.h')
-rw-r--r--arch/arm/mach-omap2/pm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm.h b/arch/arm/mach-omap2/pm.h
index 8fa856770188..8400f5768923 100644
--- a/arch/arm/mach-omap2/pm.h
+++ b/arch/arm/mach-omap2/pm.h
@@ -13,6 +13,9 @@
#include <mach/powerdomain.h>
+extern int omap3_pm_get_suspend_state(struct powerdomain *pwrdm);
+extern int omap3_pm_set_suspend_state(struct powerdomain *pwrdm, int state);
+
#ifdef CONFIG_PM_DEBUG
extern void omap2_pm_dump(int mode, int resume, unsigned int us);
extern int omap2_pm_debug;