aboutsummaryrefslogtreecommitdiff
path: root/drivers/crypto/nx/nx-842-crypto.c
diff options
context:
space:
mode:
authorDan Streetman <ddstreet@ieee.org>2015-06-12 10:58:46 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2015-06-15 18:15:56 +0800
commit32be6d3e362b896c81aae7c635d44e5a91406ce2 (patch)
tree15c9514a838b2bd6cd75d748ba8c240299cf5245 /drivers/crypto/nx/nx-842-crypto.c
parent81781e681551ed3f56c9202e9adc7ef941cba654 (diff)
crypto: nx - move include/linux/nx842.h into drivers/crypto/nx/nx-842.h
Move the contents of the include/linux/nx842.h header file into the drivers/crypto/nx/nx-842.h header file. Remove the nx842.h header file and its entry in the MAINTAINERS file. The include/linux/nx842.h header originally was there because the crypto/842.c driver needed it to communicate with the nx-842 hw driver. However, that crypto compression driver was moved into the drivers/crypto/nx/ directory, and now can directly include the nx-842.h header. Nothing else needs the public include/linux/nx842.h header file, as all use of the nx-842 hardware driver will be through the "842-nx" crypto compression driver, since the direct nx-842 api is very limited in the buffer alignments and sizes that it will accept, and the crypto compression interface handles those limitations and allows any alignment and size buffers. Signed-off-by: Dan Streetman <ddstreet@ieee.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/nx/nx-842-crypto.c')
-rw-r--r--drivers/crypto/nx/nx-842-crypto.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/crypto/nx/nx-842-crypto.c b/drivers/crypto/nx/nx-842-crypto.c
index 2ffa1031c91f..95066f336b26 100644
--- a/drivers/crypto/nx/nx-842-crypto.c
+++ b/drivers/crypto/nx/nx-842-crypto.c
@@ -58,10 +58,11 @@
#include <linux/module.h>
#include <linux/crypto.h>
#include <linux/vmalloc.h>
-#include <linux/nx842.h>
#include <linux/sw842.h>
#include <linux/ratelimit.h>
+#include "nx-842.h"
+
/* The first 5 bits of this magic are 0x1f, which is an invalid 842 5-bit
* template (see lib/842/842.h), so this magic number will never appear at
* the start of a raw 842 compressed buffer. That is important, as any buffer