All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Mark as_init and as_exit as init and exit functions
@ 2004-11-12 22:15 Chris Wright
  2004-11-12 22:17 ` [PATCH] Mark cfq_exit as an exit function Chris Wright
  2004-11-14 13:58 ` [PATCH] Mark as_init and as_exit " Jens Axboe
  0 siblings, 2 replies; 4+ messages in thread
From: Chris Wright @ 2004-11-12 22:15 UTC (permalink / raw)
  To: axboe; +Cc: linux-kernel

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

Signed-off-by: Chris Wright <chris@osdl.org>

===== 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);

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-11-14 13:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-12 22:15 [PATCH] Mark as_init and as_exit as init and exit functions Chris Wright
2004-11-12 22:17 ` [PATCH] Mark cfq_exit as an exit function Chris Wright
2004-11-12 22:21   ` [PATCH] Mark deadline_init and deadline_exit as init and exit functions Chris Wright
2004-11-14 13:58 ` [PATCH] Mark as_init and as_exit " Jens Axboe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.