diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-02-05 01:30:06 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-05 12:44:22 -0500 |
commit | 47a460d5a307e639d6c9cdf9bb4857e2f5f3cb76 (patch) | |
tree | afdb7f011316551978d301f4a7fcd79f347d8b33 /kernel/power/disk.c | |
parent | cbed6c6e0f7a52859fd0207ef3ffcf4bfffdbf95 (diff) |
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/disk.c')
-rw-r--r-- | kernel/power/disk.c | 4 |
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 @@ | |||
26 | 26 | ||
27 | 27 | ||
28 | static int noresume = 0; | 28 | static int noresume = 0; |
29 | char resume_file[256] = CONFIG_PM_STD_PARTITION; | 29 | static char resume_file[256] = CONFIG_PM_STD_PARTITION; |
30 | dev_t swsusp_resume_device; | 30 | dev_t swsusp_resume_device; |
31 | sector_t swsusp_resume_block; | 31 | sector_t swsusp_resume_block; |
32 | 32 | ||
@@ -185,7 +185,7 @@ static void platform_restore_cleanup(int platform_mode) | |||
185 | * reappears in this routine after a restore. | 185 | * reappears in this routine after a restore. |
186 | */ | 186 | */ |
187 | 187 | ||
188 | int create_image(int platform_mode) | 188 | static int create_image(int platform_mode) |
189 | { | 189 | { |
190 | int error; | 190 | int error; |
191 | 191 | ||