crypto: aspeed - change aspeed_acry_akcipher_algs to static

aspeed_acry_akcipher_algs is only used in aspeed-acry.c now,
change it to static.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Acked-by: Andrew Jeffery <andrew@aj.id.au>
Reviewed-by: Neal Liu <neal_liu@aspeedtech.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Yang Yingliang 2023-01-19 09:48:59 +08:00 committed by Herbert Xu
parent 1b4744e107
commit aaf16cdca6
1 changed files with 1 additions and 1 deletions

View File

@ -603,7 +603,7 @@ static void aspeed_acry_rsa_exit_tfm(struct crypto_akcipher *tfm)
crypto_free_akcipher(ctx->fallback_tfm); crypto_free_akcipher(ctx->fallback_tfm);
} }
struct aspeed_acry_alg aspeed_acry_akcipher_algs[] = { static struct aspeed_acry_alg aspeed_acry_akcipher_algs[] = {
{ {
.akcipher = { .akcipher = {
.encrypt = aspeed_acry_rsa_enc, .encrypt = aspeed_acry_rsa_enc,