aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/sharpsl_pm.c
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2009-06-11 11:25:09 -0400
committerEric Miao <eric.y.miao@gmail.com>2009-06-11 11:25:09 -0400
commit51cdd9289d2e0d83eb32ed6d7a42596b02bf924e (patch)
treec133ea6b4e5b0c61234c742ebcad03a8dd957ff6 /arch/arm/mach-pxa/sharpsl_pm.c
parentd5af27783f8c898b64f7079908ad3e27632a71ea (diff)
[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/sharpsl_pm.c')
-rw-r--r--arch/arm/mach-pxa/sharpsl_pm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/sharpsl_pm.c b/arch/arm/mach-pxa/sharpsl_pm.c
index dfac7b9a7352..2546c066cd6e 100644
--- a/arch/arm/mach-pxa/sharpsl_pm.c
+++ b/arch/arm/mach-pxa/sharpsl_pm.c
@@ -892,6 +892,8 @@ static void sharpsl_apm_get_power_status(struct apm_power_info *info)
892 892
893#ifdef CONFIG_PM 893#ifdef CONFIG_PM
894static struct platform_suspend_ops sharpsl_pm_ops = { 894static struct platform_suspend_ops sharpsl_pm_ops = {
895 .prepare = pxa_pm_prepare,
896 .finish = pxa_pm_finish,
895 .enter = corgi_pxa_pm_enter, 897 .enter = corgi_pxa_pm_enter,
896 .valid = suspend_valid_only_mem, 898 .valid = suspend_valid_only_mem,
897}; 899};