summaryrefslogtreecommitdiffstats
path: root/net/dccp
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-10-01 06:52:06 +0200
committerDavid S. Miller <davem@davemloft.net>2014-10-02 00:33:13 +0200
commite500f488c27659bb6f5d313b336621f3daa67701 (patch)
tree235372e93142d9660f17fbd3710d1391c138fcca /net/dccp
parentnet/dccp/proto.c: add __init to dccp_mib_init (diff)
downloadlinux-e500f488c27659bb6f5d313b336621f3daa67701.tar.xz
linux-e500f488c27659bb6f5d313b336621f3daa67701.zip
net/dccp/ccid.c: add __init to ccid_activate
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>
Diffstat (limited to 'net/dccp')
-rw-r--r--net/dccp/ccid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/ccid.c b/net/dccp/ccid.c
index 597557254ddb..83498975165f 100644
--- a/net/dccp/ccid.c
+++ b/net/dccp/ccid.c
@@ -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;