]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] Mark as_init and as_exit as init and exit functions
authorJens Axboe <axboe@suse.de>
Sun, 14 Nov 2004 11:36:55 +0000 (03:36 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 14 Nov 2004 11:36:55 +0000 (03:36 -0800)
Mark as_init and as_exit as init and exit functions, and make them static.

Signed-off-by: Chris Wright <chris@osdl.org>
Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/as-iosched.c

index 0aa3ee8c309b2679fcf98a35b17848c2fe048dce..fb625b49b8319156bf95884842f63fe644e11df5 100644 (file)
@@ -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);