diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2007-12-07 20:04:21 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-02-01 18:30:54 -0500 |
commit | 72df68ca8e006a0107933c4fb13c741a0a48163f (patch) | |
tree | c6d0d36bffc54989fffcebc8ec1368a47cfa6d65 /kernel/power/power.h | |
parent | 2ed43b63285c394cb5e1829c199cc94c7b8233b9 (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.h | 1 |
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); | |||
152 | extern int swsusp_check(void); | 152 | extern int swsusp_check(void); |
153 | extern int swsusp_shrink_memory(void); | 153 | extern int swsusp_shrink_memory(void); |
154 | extern void swsusp_free(void); | 154 | extern void swsusp_free(void); |
155 | extern int swsusp_resume(void); | ||
156 | extern int swsusp_read(unsigned int *flags_p); | 155 | extern int swsusp_read(unsigned int *flags_p); |
157 | extern int swsusp_write(unsigned int flags); | 156 | extern int swsusp_write(unsigned int flags); |
158 | extern void swsusp_close(void); | 157 | extern void swsusp_close(void); |