mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
crypto: add __init/__exit annotations to init/exit funcs
Add missing __init/__exit annotations to init/exit funcs. Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
@@ -327,7 +327,7 @@ static struct akcipher_alg rsa = {
|
||||
},
|
||||
};
|
||||
|
||||
static int rsa_init(void)
|
||||
static int __init rsa_init(void)
|
||||
{
|
||||
int err;
|
||||
|
||||
@@ -344,7 +344,7 @@ static int rsa_init(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void rsa_exit(void)
|
||||
static void __exit rsa_exit(void)
|
||||
{
|
||||
crypto_unregister_template(&rsa_pkcs1pad_tmpl);
|
||||
crypto_unregister_akcipher(&rsa);
|
||||
|
Reference in New Issue
Block a user