From: Herbert Xu Date: Mon, 17 Aug 2015 10:04:17 +0000 (+0800) Subject: crypto: nx - Add forward declaration for struct crypto_aead X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9129c26da1711aba1e6295c28de8814301869732;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Herbert Xu --- 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);