summaryrefslogtreecommitdiff
path: root/drivers/crypto/nx/nx.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2015-08-17 18:04:17 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2015-08-17 19:49:13 +0800
commit9129c26da1711aba1e6295c28de8814301869732 (patch)
treeeb2d76bc68056b3d9e67ba219080d02b540fd3a7 /drivers/crypto/nx/nx.h
parenta26bcb04861db3061bb7db11ce905aa037111f81 (diff)
crypto: nx - Add forward declaration for struct crypto_aead
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>
Diffstat (limited to 'drivers/crypto/nx/nx.h')
-rw-r--r--drivers/crypto/nx/nx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/crypto/nx/nx.h b/drivers/crypto/nx/nx.h
index 591632d9c654..9347878d4f30 100644
--- a/drivers/crypto/nx/nx.h
+++ b/drivers/crypto/nx/nx.h
@@ -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);