Commit 9b598e81 authored by Jens Axboe's avatar Jens Axboe Committed by Linus Torvalds

[PATCH] Mark as_init and as_exit as init and exit functions

Mark as_init and as_exit as init and exit functions, and make them static.
Signed-off-by: default avatarChris Wright <chris@osdl.org>
Signed-off-by: default avatarJens Axboe <axboe@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent e56ca157
......@@ -2096,7 +2096,7 @@ static struct elevator_type iosched_as = {
.elevator_owner = THIS_MODULE,
};
int as_init(void)
static int __init as_init(void)
{
int ret;
......@@ -2120,7 +2120,7 @@ int as_init(void)
return ret;
}
void as_exit(void)
static void __exit as_exit(void)
{
kmem_cache_destroy(arq_pool);
elv_unregister(&iosched_as);
......
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