net/dccp/ccid.c: add __init to ccid_activate
authorFabian Frederick <fabf@skynet.be>
Wed, 1 Oct 2014 04:52:06 +0000 (06:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Oct 2014 22:33:13 +0000 (18:33 -0400)
ccid_activate is only called by __init ccid_initialize_builtins in same module.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/ccid.c

index 597557254ddb42dd9e58e8cb5b3594f07fc34d10..83498975165f9906b80349d58559eb36d81e0fae 100644 (file)
@@ -99,7 +99,7 @@ static void ccid_kmem_cache_destroy(struct kmem_cache *slab)
                kmem_cache_destroy(slab);
 }
 
-static int ccid_activate(struct ccid_operations *ccid_ops)
+static int __init ccid_activate(struct ccid_operations *ccid_ops)
 {
        int err = -ENOBUFS;