aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-05-20 23:23:12 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-05-20 23:23:12 -0700
commit2c28ee5a1b0b112290c89215c5cfd29041fd69b0 (patch)
tree9a70bcae0005aa41b65596b55e123dd062a92360 /kernel
parent007c4b6278a280370db3ecfab125a359f6577612 (diff)
downloadhistory-2c28ee5a1b0b112290c89215c5cfd29041fd69b0.tar.gz
[PATCH] trivial: swsusp section usage
From: Rusty Russell <rusty@rustcorp.com.au> From: Pavel Machek <pavel@ucw.cz> This patch fixes init section usage in swsusp.c: "read_suspend_image()" can be __init.
Diffstat (limited to 'kernel')
-rw-r--r--kernel/power/swsusp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/swsusp.c b/kernel/power/swsusp.c
index 8f78d68075764e..5b71f54721dae1 100644
--- a/kernel/power/swsusp.c
+++ b/kernel/power/swsusp.c
@@ -1098,7 +1098,7 @@ static int __init __read_suspend_image(struct block_device *bdev, union diskpage
return 0;
}
-static int read_suspend_image(const char * specialfile, int noresume)
+static int __init read_suspend_image(const char * specialfile, int noresume)
{
union diskpage *cur;
unsigned long scratch_page = 0;