aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/hp6xx/pm.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/boards/hp6xx/pm.c')
-rw-r--r--arch/sh/boards/hp6xx/pm.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/sh/boards/hp6xx/pm.c b/arch/sh/boards/hp6xx/pm.c
index d1947732fb3e..4b2f29a4bde9 100644
--- a/arch/sh/boards/hp6xx/pm.c
+++ b/arch/sh/boards/hp6xx/pm.c
@@ -27,9 +27,6 @@ static int hp6x0_pm_enter(suspend_state_t state)
27 u16 hd64461_stbcr; 27 u16 hd64461_stbcr;
28#endif 28#endif
29 29
30 if (state != PM_SUSPEND_MEM)
31 return -EINVAL;
32
33#ifdef CONFIG_HD64461_ENABLER 30#ifdef CONFIG_HD64461_ENABLER
34 outb(0, HD64461_PCC1CSCIER); 31 outb(0, HD64461_PCC1CSCIER);
35 32
@@ -70,11 +67,7 @@ static int hp6x0_pm_enter(suspend_state_t state)
70 return 0; 67 return 0;
71} 68}
72 69
73/*
74 * Set to PM_DISK_FIRMWARE so we can quickly veto suspend-to-disk.
75 */
76static struct pm_ops hp6x0_pm_ops = { 70static struct pm_ops hp6x0_pm_ops = {
77 .pm_disk_mode = PM_DISK_FIRMWARE,
78 .enter = hp6x0_pm_enter, 71 .enter = hp6x0_pm_enter,
79}; 72};
80 73