From: Cornelia Huck Date: Tue, 9 Jun 2009 23:28:19 +0000 (+0200) Subject: PM/Hibernate: Move NVS routines into a seperate file (v2). X-Git-Tag: v2.6.31-rc1~357^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fce2b111fae9151a53dabb36513b398d03337a19;p=pandora-kernel.git 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 Acked-by: Pavel Machek Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed