Commit 237f9ece authored by ruanjinjie's avatar ruanjinjie Committed by Herbert Xu

crypto: ccp - Add __init/__exit annotations to module init/exit funcs

Add missing __init/__exit annotations to module init/exit funcs
Signed-off-by: default avatarruanjinjie <ruanjinjie@huawei.com>
Acked-by: default avatarJohn Allen <john.allen@amd.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent f30fe631
......@@ -400,7 +400,7 @@ static void ccp_unregister_algs(void)
}
}
static int ccp_crypto_init(void)
static int __init ccp_crypto_init(void)
{
int ret;
......@@ -421,7 +421,7 @@ static int ccp_crypto_init(void)
return ret;
}
static void ccp_crypto_exit(void)
static void __exit ccp_crypto_exit(void)
{
ccp_unregister_algs();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment