summaryrefslogtreecommitdiffstats
path: root/kernel/power
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-02-05 07:30:06 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-05 18:44:22 +0100
commit47a460d5a307e639d6c9cdf9bb4857e2f5f3cb76 (patch)
treeafdb7f011316551978d301f4a7fcd79f347d8b33 /kernel/power
parentalpha: fix warning by fixing flush_tlb_kernel_range() (diff)
downloadlinux-47a460d5a307e639d6c9cdf9bb4857e2f5f3cb76.tar.xz
linux-47a460d5a307e639d6c9cdf9bb4857e2f5f3cb76.zip
kernel/power/disk.c: make code static
resume_file[] and create_image() can become static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Pavel Machek <pavel@ucw.cz> Cc: "Rafael J. Wysocki" <rjw@sisk.pl> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/power')
-rw-r--r--kernel/power/disk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/power/disk.c b/kernel/power/disk.c
index d09da0895174..859a8e59773a 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;