aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/power/power.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2007-12-07 20:04:21 -0500
committerLen Brown <len.brown@intel.com>2008-02-01 18:30:54 -0500
commit72df68ca8e006a0107933c4fb13c741a0a48163f (patch)
treec6d0d36bffc54989fffcebc8ec1368a47cfa6d65 /kernel/power/power.h
parent2ed43b63285c394cb5e1829c199cc94c7b8233b9 (diff)
Hibernation: Move low level resume to disk.c
Move the low level restore code to kernel/power/disk.c , since the corresponding low level hibernation code is already there. Make restore fail if device_power_down(PMSG_PRETHAW) returns an error. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'kernel/power/power.h')
-rw-r--r--kernel/power/power.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/power/power.h b/kernel/power/power.h
index a9732fd12239..8ec5499c5ce1 100644
--- a/kernel/power/power.h
+++ b/kernel/power/power.h
@@ -152,7 +152,6 @@ extern int swsusp_swap_in_use(void);
152extern int swsusp_check(void); 152extern int swsusp_check(void);
153extern int swsusp_shrink_memory(void); 153extern int swsusp_shrink_memory(void);
154extern void swsusp_free(void); 154extern void swsusp_free(void);
155extern int swsusp_resume(void);
156extern int swsusp_read(unsigned int *flags_p); 155extern int swsusp_read(unsigned int *flags_p);
157extern int swsusp_write(unsigned int flags); 156extern int swsusp_write(unsigned int flags);
158extern void swsusp_close(void); 157extern void swsusp_close(void);