summaryrefslogtreecommitdiff
path: root/arch/arm/mach-pxa/include/mach/pm.h
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2009-06-11 19:25:09 +0400
committerEric Miao <eric.y.miao@gmail.com>2009-06-11 19:25:09 +0400
commit51cdd9289d2e0d83eb32ed6d7a42596b02bf924e (patch)
treec133ea6b4e5b0c61234c742ebcad03a8dd957ff6 /arch/arm/mach-pxa/include/mach/pm.h
parentd5af27783f8c898b64f7079908ad3e27632a71ea (diff)
downloadlinux-51cdd9289d2e0d83eb32ed6d7a42596b02bf924e.tar.xz
[ARM] pxa/sharpsl_pm: zaurus needs generic pxa suspend/resume routines
For suspend/resume to work, spitz needs pxa_pm_suspend/resume to be called. Otherwise PSPR is not set properly, and system will die during resume. Signed-off-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/include/mach/pm.h')
-rw-r--r--arch/arm/mach-pxa/include/mach/pm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/include/mach/pm.h b/arch/arm/mach-pxa/include/mach/pm.h
index a6eeef8a075f..fd8360c6839d 100644
--- a/arch/arm/mach-pxa/include/mach/pm.h
+++ b/arch/arm/mach-pxa/include/mach/pm.h
@@ -27,6 +27,8 @@ extern void pxa27x_cpu_suspend(unsigned int);
extern void pxa_cpu_resume(void);
extern int pxa_pm_enter(suspend_state_t state);
+extern int pxa_pm_prepare(void);
+extern void pxa_pm_finish(void);
/* NOTE: this is for PM debugging on Lubbock, it's really a big
* ugly, but let's keep the crap minimum here, instead of direct