From: Adrian Bunk Date: Tue, 5 Feb 2008 06:30:06 +0000 (-0800) Subject: kernel/power/disk.c: make code static X-Git-Tag: v2.6.25-rc1~893 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47a460d5a307e639d6c9cdf9bb4857e2f5f3cb76;p=linux-2.6 kernel/power/disk.c: make code static resume_file[] and create_image() can become static. Signed-off-by: Adrian Bunk Acked-by: Pavel Machek Cc: "Rafael J. Wysocki" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/power/disk.c b/kernel/power/disk.c index d09da08951..859a8e5977 100644 --- a/kernel/power/disk.c +++ b/kernel/power/disk.c @@ -26,7 +26,7 @@ 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; sector_t swsusp_resume_block; @@ -185,7 +185,7 @@ static void platform_restore_cleanup(int platform_mode) * reappears in this routine after a restore. */ -int create_image(int platform_mode) +static int create_image(int platform_mode) { int error;