Commit 2c28ee5a authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[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.
parent 007c4b62
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment