]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] __init in cfq-iosched.c
authorAndries E. Brouwer <andries.brouwer@cwi.nl>
Sat, 26 Feb 2005 02:02:45 +0000 (18:02 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 26 Feb 2005 02:02:45 +0000 (18:02 -0800)
cfq_init() calls __init cfq_slab_setup and hence must be __init itself

also made it static

drivers/block/cfq-iosched.c

index 12fb10aa186e206855d17ef639f5b9f189e1eb56..4234508565d6af3513775e83e5e0c5bcea26b393 100644 (file)
@@ -1819,7 +1819,7 @@ static struct elevator_type iosched_cfq = {
        .elevator_owner =       THIS_MODULE,
 };
 
-int cfq_init(void)
+static int __init cfq_init(void)
 {
        int ret;