From: Fabian Frederick Date: Wed, 1 Oct 2014 04:52:06 +0000 (+0200) Subject: net/dccp/ccid.c: add __init to ccid_activate X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e500f488c27659bb6f5d313b336621f3daa67701;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: David S. Miller --- 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;