/* platform_pre_restore - prepare the platform for the restoration from a hibernation image. If the restore fails after this function has been called, platform_restore_cleanup() must be called.  */
static int platform_pre_restore(int platform_mode)
/* platform_pre_restore - prepare the platform for the restoration from a hibernation image. If the restore fails after this function has been called, platform_restore_cleanup() must be called.  */
static int platform_pre_restore(int platform_mode)
{
	return (platform_mode && hibernation_ops) ?
		hibernation_ops->pre_restore() : 0;
}