]> git.karo-electronics.de Git - linux-beck.git/commitdiff
crypto: caam - Remove bogus references to crypto API internals
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 22 Apr 2015 03:56:34 +0000 (11:56 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 23 Apr 2015 06:18:08 +0000 (14:18 +0800)
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>
drivers/crypto/caam/caamalg.c

index 29071a156cbe131fd58b63abdffd947d7601d325..3c025d407affa3b4401222daf2c982b0db28a099 100644 (file)
@@ -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;