Skip to content

Commit

Permalink
kernel/power/disk.c: make code static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Feb 5, 2008
1 parent cbed6c6 commit 47a460d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/power/disk.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 47a460d

Please sign in to comment.