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:
ruanjinjie
2022-09-26 17:27:11 +08:00
committed by Herbert Xu
parent f30fe63146
commit 237f9eceb2

View File

@@ -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();
} }