Commit 47a460d5 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

kernel/power/disk.c: make code static

resume_file[] and create_image() can become static.
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Acked-by: default avatarPavel Machek <pavel@ucw.cz>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent cbed6c6e
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
static int noresume = 0; static int noresume = 0;
char resume_file[256] = CONFIG_PM_STD_PARTITION; static char resume_file[256] = CONFIG_PM_STD_PARTITION;
dev_t swsusp_resume_device; dev_t swsusp_resume_device;
sector_t swsusp_resume_block; sector_t swsusp_resume_block;
...@@ -185,7 +185,7 @@ static void platform_restore_cleanup(int platform_mode) ...@@ -185,7 +185,7 @@ static void platform_restore_cleanup(int platform_mode)
* reappears in this routine after a restore. * reappears in this routine after a restore.
*/ */
int create_image(int platform_mode) static int create_image(int platform_mode)
{ {
int error; int error;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment