Commit aaf16cdc authored by Yang Yingliang's avatar Yang Yingliang Committed by Herbert Xu

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: default avatarYang Yingliang <yangyingliang@huawei.com>
Acked-by: default avatarAndrew Jeffery <andrew@aj.id.au>
Reviewed-by: default avatarNeal Liu <neal_liu@aspeedtech.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 1b4744e1
...@@ -603,7 +603,7 @@ static void aspeed_acry_rsa_exit_tfm(struct crypto_akcipher *tfm) ...@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment