summaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2014-11-19 21:16:04 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2014-11-20 15:39:40 +0100
commit1e0bdad02583764e90671a2900920cffa3e9d605 (patch)
tree76ee1e39505c6c38b53fbd841fc41ee01c283be9 /drivers/crypto
parentcrypto: crc32 - Add ARM64 CRC32 hw accelerated module (diff)
downloadlinux-1e0bdad02583764e90671a2900920cffa3e9d605.tar.xz
linux-1e0bdad02583764e90671a2900920cffa3e9d605.zip
crypto: bfin_crc - don't include linux/unaligned/access_ok.h
This is a specific implementation, <asm/unaligned.h> is the multiplexer that has the arch-specific knowledge of which of the implementations needs to be used, so include that. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/bfin_crc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/bfin_crc.c b/drivers/crypto/bfin_crc.c
index b099e33cb073..e96eddc0e0b3 100644
--- a/drivers/crypto/bfin_crc.c
+++ b/drivers/crypto/bfin_crc.c
@@ -21,13 +21,13 @@
#include <linux/scatterlist.h>
#include <linux/dma-mapping.h>
#include <linux/delay.h>
-#include <linux/unaligned/access_ok.h>
#include <linux/crypto.h>
#include <linux/cryptohash.h>
#include <crypto/scatterwalk.h>
#include <crypto/algapi.h>
#include <crypto/hash.h>
#include <crypto/internal/hash.h>
+#include <asm/unaligned.h>
#include <asm/dma.h>
#include <asm/portmux.h>