aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/au1000/common/power.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/au1000/common/power.c')
-rw-r--r--arch/mips/au1000/common/power.c3
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,
297 void *buffer, size_t * len) 297 void *buffer, size_t * len)
298{ 298{
299 int retval = 0; 299 int retval = 0;
300 void au1k_wait(void);
301 300
302 if (!write) { 301 if (!write) {
303 *len = 0; 302 *len = 0;
@@ -306,7 +305,7 @@ static int pm_do_suspend(ctl_table * ctl, int write, struct file *file,
306 if (retval) 305 if (retval)
307 return retval; 306 return retval;
308 suspend_mode = 1; 307 suspend_mode = 1;
309 au1k_wait(); 308
310 retval = pm_send_all(PM_RESUME, (void *) 0); 309 retval = pm_send_all(PM_RESUME, (void *) 0);
311 } 310 }
312 return retval; 311 return retval;