summaryrefslogtreecommitdiff
path: root/drivers/crypto/caam
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2015-04-22 11:56:34 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2015-04-23 14:18:08 +0800
commitd9b3682ffd6d7fa98195eb64307b70e9a25cc655 (patch)
tree682f649a6d8071892b4ca0d45b05ee6067f6a935 /drivers/crypto/caam
parentb94e7dc581c68e383165b09f2aab7a98a597f10a (diff)
crypto: caam - Remove bogus references to crypto API internals
The caam driver includes algorithm types that it doesn't even use, such as struct rng_alg which has recently been moved to an internal header file and consequently broke the build of caam. This patch removes these bogus references. Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam')
-rw-r--r--drivers/crypto/caam/caamalg.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/crypto/caam/caamalg.c b/drivers/crypto/caam/caamalg.c
index 29071a156cbe..3c025d407aff 100644
--- a/drivers/crypto/caam/caamalg.c
+++ b/drivers/crypto/caam/caamalg.c
@@ -3380,10 +3380,6 @@ struct caam_alg_template {
union {
struct ablkcipher_alg ablkcipher;
struct aead_alg aead;
- struct blkcipher_alg blkcipher;
- struct cipher_alg cipher;
- struct compress_alg compress;
- struct rng_alg rng;
} template_u;
u32 class1_alg_type;
u32 class2_alg_type;