summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/pm.c
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2009-06-11 23:25:09 +0800
committerEric Miao <eric.y.miao@gmail.com>2009-06-11 23:25:09 +0800
commit51cdd9289d2e0d83eb32ed6d7a42596b02bf924e (patch)
treec133ea6b4e5b0c61234c742ebcad03a8dd957ff6 /arch/arm/mach-pxa/pm.c
parentd5af27783f8c898b64f7079908ad3e27632a71ea (diff)
downloadop-kernel-dev-51cdd9289d2e0d83eb32ed6d7a42596b02bf924e.zip
op-kernel-dev-51cdd9289d2e0d83eb32ed6d7a42596b02bf924e.tar.gz
[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/pm.c')
-rw-r--r--arch/arm/mach-pxa/pm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/pm.c b/arch/arm/mach-pxa/pm.c
index 884b174..7693355 100644
--- a/arch/arm/mach-pxa/pm.c
+++ b/arch/arm/mach-pxa/pm.c
@@ -79,7 +79,7 @@ static int pxa_pm_valid(suspend_state_t state)
return -EINVAL;
}
-static int pxa_pm_prepare(void)
+int pxa_pm_prepare(void)
{
int ret = 0;
@@ -89,7 +89,7 @@ static int pxa_pm_prepare(void)
return ret;
}
-static void pxa_pm_finish(void)
+void pxa_pm_finish(void)
{
if (pxa_cpu_pm_fns && pxa_cpu_pm_fns->finish)
pxa_cpu_pm_fns->finish();
OpenPOWER on IntegriCloud