mirror of
https://github.com/torvalds/linux.git
synced 2025-01-01 15:51:46 +00:00
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:
parent
f30fe63146
commit
237f9eceb2
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user