crypto: ccp - Add __init/__exit annotations to module init/exit funcs
Add missing __init/__exit annotations to module init/exit funcs Signed-off-by: ruanjinjie <ruanjinjie@huawei.com> Acked-by: John Allen <john.allen@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
@@ -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;
|
int ret;
|
||||||
|
|
||||||
@@ -421,7 +421,7 @@ static int ccp_crypto_init(void)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ccp_crypto_exit(void)
|
static void __exit ccp_crypto_exit(void)
|
||||||
{
|
{
|
||||||
ccp_unregister_algs();
|
ccp_unregister_algs();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user