cfq_init() calls __init cfq_slab_setup and hence must be __init itself

also made it static

Andries

diff -uprN -X /linux/dontdiff a/drivers/block/cfq-iosched.c 
b/drivers/block/cfq-iosched.c
--- a/drivers/block/cfq-iosched.c       2005-02-26 12:13:29.000000000 +0100
+++ b/drivers/block/cfq-iosched.c       2005-02-26 14:18:00.000000000 +0100
@@ -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;
 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to