diff options
author | Pete Popov <ppopov@embeddedalley.com> | 2005-04-07 00:42:10 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 19:31:02 +0100 |
commit | 494900af689a22479eb405ff1323cad673bd9208 (patch) | |
tree | c4c50f2874f48679fd476a50e8866db2ce4696d3 /arch/mips/au1000/common/power.c | |
parent | 3b495f2bb749b828499135743b9ddec46e34fda8 (diff) | |
download | blackbird-op-linux-494900af689a22479eb405ff1323cad673bd9208.tar.gz blackbird-op-linux-494900af689a22479eb405ff1323cad673bd9208.zip |
Remove CONFIG_PM dependency from au1x wait in cpu_probe.
Additional work necessary to completely remove that config option.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/au1000/common/power.c')
-rw-r--r-- | arch/mips/au1000/common/power.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/au1000/common/power.c b/arch/mips/au1000/common/power.c index c40daccbb5b1..d3aa067505b4 100644 --- a/arch/mips/au1000/common/power.c +++ b/arch/mips/au1000/common/power.c @@ -297,7 +297,6 @@ static int pm_do_suspend(ctl_table * ctl, int write, struct file *file, void *buffer, size_t * len) { int retval = 0; - void au1k_wait(void); if (!write) { *len = 0; @@ -306,7 +305,7 @@ static int pm_do_suspend(ctl_table * ctl, int write, struct file *file, if (retval) return retval; suspend_mode = 1; - au1k_wait(); + retval = pm_send_all(PM_RESUME, (void *) 0); } return retval; |