1
0
Fork 0

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>
hifive-unleashed-5.1
Adrian Bunk 2008-02-04 22:30:06 -08:00 committed by Linus Torvalds
parent cbed6c6e0f
commit 47a460d5a3
1 changed files with 2 additions and 2 deletions

View File

@ -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;