+11
−7
+4
−0
+1
−0
kernel/power/hibernate_nvs.c
0 → 100644
+135
−0
+0
−122
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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 <cornelia.huck@de.ibm.com> Acked-by:
Pavel Machek <pavel@ucw.cz> Signed-off-by:
Rafael J. Wysocki <rjw@sisk.pl>