Commit fce2b111 authored by Committed by Rafael J. WysockiBrowse files
PM/Hibernate: Move NVS routines into a seperate file (v2).
The *_nvs_* routines in swsusp.c make use of the io*map() functions, which are only provided for HAS_IOMEM, thus breaking compilation if HAS_IOMEM is not set. Fix this by moving the *_nvs_* routines into hibernate_nvs.c, which is only compiled if HAS_IOMEM is set. [rjw: Change the name of the new file to hibernate_nvs.c, add the license line to the header comment.] Signed-off-by: Cornelia Huck <email@example.com> Acked-by: Pavel Machek <firstname.lastname@example.org> Signed-off-by: Rafael J. Wysocki <email@example.com>
Showing with 151 additions and 129 deletions