• Patrick Mochel's avatar
    [Power Mgmt] Merge swsusp and pmdisk info headers. · 62ca4334
    Patrick Mochel authored
    - Move definition of struct pmdsik_info to power.h and rename to struct 
      swsusp_info.
    - Kill struct suspend_header. 
    - Move helpers from pmdisk into swsusp: init_header(), dump_info(), 
      write_header(), sanity_check(), check_header().
    - Fix up calls in pmdisk to call the right ones. 
    - Clean up swsusp code to use helpers; delete duplicates. 
    62ca4334
power.h 1.14 KB