summaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2022-11-25 05:36:28 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2022-12-02 11:12:40 +0100
commit14386d471322a204344ae81a28738b71e261d3a0 (patch)
tree672ae18644ae3c6e529acb5ee6f814329232b996 /drivers/crypto
parentcrypto: omap-sham - Use pm_runtime_resume_and_get() in omap_sham_probe() (diff)
downloadlinux-14386d471322a204344ae81a28738b71e261d3a0.tar.xz
linux-14386d471322a204344ae81a28738b71e261d3a0.zip
crypto: Prepare to move crypto_tfm_ctx
The helper crypto_tfm_ctx is only used by the Crypto API algorithm code and should really be in algapi.h. However, for historical reasons many files relied on it to be in crypto.h. This patch changes those files to use algapi.h instead in prepartion for a move. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/nx/nx-842.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/nx/nx-842.h b/drivers/crypto/nx/nx-842.h
index b66f19ac600f..7590bfb24d79 100644
--- a/drivers/crypto/nx/nx-842.h
+++ b/drivers/crypto/nx/nx-842.h
@@ -3,10 +3,10 @@
#ifndef __NX_842_H__
#define __NX_842_H__
+#include <crypto/algapi.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
-#include <linux/crypto.h>
#include <linux/of.h>
#include <linux/slab.h>
#include <linux/io.h>