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

From: Chris Wright
Date: Fri Nov 12 2004 - 17:17:48 EST


Mark as_init and as_exit as init and exit functions, and make them static.

Signed-off-by: Chris Wright <chris@xxxxxxxx>

===== drivers/block/as-iosched.c 1.41 vs edited =====
--- 1.41/drivers/block/as-iosched.c 2004-10-19 02:40:18 -07:00
+++ edited/drivers/block/as-iosched.c 2004-10-29 16:28:05 -07:00
@@ -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);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/