pin_hibernation_swap_type
extern int pin_hibernation_swap_type(dev_t device, sector_t offset);
data->swap = pin_hibernation_swap_type(swdev, offset);
data->swap = pin_hibernation_swap_type(swsusp_resume_device, 0);