summaryrefslogtreecommitdiff
path: root/drivers/crypto/caam/caamalg_qi2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/crypto/caam/caamalg_qi2.c')
-rw-r--r--drivers/crypto/caam/caamalg_qi2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/crypto/caam/caamalg_qi2.c b/drivers/crypto/caam/caamalg_qi2.c
index da3e68b..c9e8707 100644
--- a/drivers/crypto/caam/caamalg_qi2.c
+++ b/drivers/crypto/caam/caamalg_qi2.c
@@ -2279,9 +2279,8 @@ static int caam_cra_init_aead(struct crypto_aead *tfm)
return caam_cra_init(crypto_aead_tfm(tfm));
}
-static void caam_exit_common(struct crypto_tfm *tfm)
+static void caam_exit_common(struct caam_ctx *ctx)
{
- struct caam_ctx *ctx = crypto_tfm_ctx(tfm);
int i;
for (i = 0; i < NUM_OP; i++) {