]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
crypto: nx - Add forward declaration for struct crypto_aead
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 17 Aug 2015 10:04:17 +0000 (18:04 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 17 Aug 2015 11:49:13 +0000 (19:49 +0800)
The file nx.h has function prototypes that use struct crypto_aead.
However, as crypto/aead.h is not included we don't have a definition
for it.  This patch adds a forward declaration to fix this.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/nx/nx.h

index 591632d9c65403c90e9420ca43967e6932ee63a6..9347878d4f30c13a06ee6e781e72f1c04ef1d7c2 100644 (file)
@@ -149,6 +149,8 @@ struct nx_crypto_ctx {
        } priv;
 };
 
+struct crypto_aead;
+
 /* prototypes */
 int nx_crypto_ctx_aes_ccm_init(struct crypto_aead *tfm);
 int nx_crypto_ctx_aes_gcm_init(struct crypto_aead *tfm);