diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-03-21 23:11:48 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-03-28 13:55:34 +0800 |
commit | e44e77ab8bbf03ae164090ca7b8cc0fb8970dae9 (patch) | |
tree | d1a706a2d274629f83599509ccbccf3e1d6acce9 /drivers/crypto/vmx | |
parent | d99324c22643f5ecbbf7849a1c660db569c268a7 (diff) | |
download | linux-e44e77ab8bbf03ae164090ca7b8cc0fb8970dae9.tar.gz linux-e44e77ab8bbf03ae164090ca7b8cc0fb8970dae9.tar.bz2 linux-e44e77ab8bbf03ae164090ca7b8cc0fb8970dae9.zip |
crypto: vmx - Make p8_init and p8_exit static
Fix sparse warnings:
drivers/crypto/vmx/vmx.c:44:12: warning:
symbol 'p8_init' was not declared. Should it be static?
drivers/crypto/vmx/vmx.c:70:13: warning:
symbol 'p8_exit' was not declared. Should it be static?
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/vmx')
-rw-r--r-- | drivers/crypto/vmx/vmx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/crypto/vmx/vmx.c b/drivers/crypto/vmx/vmx.c index 31a98dc6f849..a9f519830615 100644 --- a/drivers/crypto/vmx/vmx.c +++ b/drivers/crypto/vmx/vmx.c @@ -41,7 +41,7 @@ static struct crypto_alg *algs[] = { NULL, }; -int __init p8_init(void) +static int __init p8_init(void) { int ret = 0; struct crypto_alg **alg_it; @@ -67,7 +67,7 @@ int __init p8_init(void) return ret; } -void __exit p8_exit(void) +static void __exit p8_exit(void) { struct crypto_alg **alg_it; |