summaryrefslogtreecommitdiff
path: root/drivers/crypto/vmx/vmx.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2021-01-03 00:56:18 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2021-01-08 07:39:47 +0300
commit622aae879c1d9449562e0cae353691a2a1f9eec0 (patch)
treee89ac82beb7fb8732b58a00a9b2229668dcb5ae3 /drivers/crypto/vmx/vmx.c
parent2481104fe98d5b016fdd95d649b1235f21e491ba (diff)
downloadlinux-622aae879c1d9449562e0cae353691a2a1f9eec0.tar.xz
crypto: vmx - Move extern declarations into header file
This patch moves the extern algorithm declarations into a header file so that a number of compiler warnings are silenced. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/vmx/vmx.c')
-rw-r--r--drivers/crypto/vmx/vmx.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/crypto/vmx/vmx.c b/drivers/crypto/vmx/vmx.c
index 87a194455d6a..a40d08e75fc0 100644
--- a/drivers/crypto/vmx/vmx.c
+++ b/drivers/crypto/vmx/vmx.c
@@ -17,11 +17,7 @@
#include <crypto/internal/hash.h>
#include <crypto/internal/skcipher.h>
-extern struct shash_alg p8_ghash_alg;
-extern struct crypto_alg p8_aes_alg;
-extern struct skcipher_alg p8_aes_cbc_alg;
-extern struct skcipher_alg p8_aes_ctr_alg;
-extern struct skcipher_alg p8_aes_xts_alg;
+#include "aesp8-ppc.h"
static int __init p8_init(void)
{