summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorruanjinjie <ruanjinjie@huawei.com>2022-09-26 12:27:11 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2022-10-21 14:05:24 +0300
commit237f9eceb2f3c888c1a26a4209243607d3cc0c7c (patch)
treefe0a677c834f55361e750aad3bcaf89a24c6de82 /drivers
parentf30fe6314698d107edbb9db50bc3c3443a30ec80 (diff)
downloadlinux-237f9eceb2f3c888c1a26a4209243607d3cc0c7c.tar.xz
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/crypto/ccp/ccp-crypto-main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/crypto/ccp/ccp-crypto-main.c b/drivers/crypto/ccp/ccp-crypto-main.c
index 5976530c00a8..332181027305 100644
--- a/drivers/crypto/ccp/ccp-crypto-main.c
+++ b/drivers/crypto/ccp/ccp-crypto-main.c
@@ -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();
}