Messages in this thread Patch in this message | | | Date | Fri, 12 Nov 2004 14:21:08 -0800 | From | Chris Wright <> | Subject | [PATCH] Mark deadline_init and deadline_exit as init and exit functions |
| |
Mark deadline_init and deadline_exit as init and exit functions, and make them static.
Signed-off-by: Chris Wright <chris@osdl.org>
===== drivers/block/deadline-iosched.c 1.31 vs edited ===== --- 1.31/drivers/block/deadline-iosched.c 2004-10-19 02:40:18 -07:00 +++ edited/drivers/block/deadline-iosched.c 2004-10-29 15:51:12 -07:00 @@ -936,7 +936,7 @@ static struct elevator_type iosched_dead .elevator_owner = THIS_MODULE, }; -int deadline_init(void) +static int __init deadline_init(void) { int ret; @@ -953,7 +953,7 @@ int deadline_init(void) return ret; } -void deadline_exit(void) +static void __exit deadline_exit(void) { kmem_cache_destroy(drq_pool); elv_unregister(&iosched_deadline); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |