/* platform_pre_snapshot - prepare the machine for hibernation using the platform driver if so configured and return an error code if it fails  */
static int platform_pre_snapshot(int platform_mode)
/* platform_pre_snapshot - prepare the machine for hibernation using the platform driver if so configured and return an error code if it fails  */
static int platform_pre_snapshot(int platform_mode)
{
	return (platform_mode && hibernation_ops) ?
		hibernation_ops->pre_snapshot() : 0;
}