PM: hibernate: Don't ignore return from set_memory_ro()
[sfrench/cifs-2.6.git] / kernel / power / power.h
index 518349272848fa404e1bccd85cd3f700f399ab09..de0e6b1077f231dc97896e31b7ce9e8204583641 100644 (file)
@@ -153,7 +153,7 @@ extern unsigned int snapshot_additional_pages(struct zone *zone);
 extern unsigned long snapshot_get_image_size(void);
 extern int snapshot_read_next(struct snapshot_handle *handle);
 extern int snapshot_write_next(struct snapshot_handle *handle);
-extern void snapshot_write_finalize(struct snapshot_handle *handle);
+int snapshot_write_finalize(struct snapshot_handle *handle);
 extern int snapshot_image_loaded(struct snapshot_handle *handle);
 
 extern bool hibernate_acquire(void);