aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/lantiq/ltq-deu/src/ifxmips_sha1_hmac.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-17 19:23:14 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-17 19:23:14 +0000
commit95699dd3127e3acd27215e8ed359d3c35660406a (patch)
tree1a65115cb42ee10e2fb1121afffdc2c409e66226 /package/kernel/lantiq/ltq-deu/src/ifxmips_sha1_hmac.c
parent740a2ee163928b3f9f64446b8c64a63becc12147 (diff)
downloadupstream-95699dd3127e3acd27215e8ed359d3c35660406a.tar.gz
upstream-95699dd3127e3acd27215e8ed359d3c35660406a.tar.bz2
upstream-95699dd3127e3acd27215e8ed359d3c35660406a.zip
lantiq: ltq-deu: Make the DEU driver compatible with linux 4.2 and newer
Upstream linux 4.2 commit 84be456f883c4685680fba8e5154b5f72e92957e "remove <asm/scatterlist.h>" requires us to include linux/scatterlist.h instead. This also works with older kernels (at least 4.1, thanks to Hauke Mehrtens for testing). Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 48282
Diffstat (limited to 'package/kernel/lantiq/ltq-deu/src/ifxmips_sha1_hmac.c')
-rw-r--r--package/kernel/lantiq/ltq-deu/src/ifxmips_sha1_hmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/lantiq/ltq-deu/src/ifxmips_sha1_hmac.c b/package/kernel/lantiq/ltq-deu/src/ifxmips_sha1_hmac.c
index a5a6c39154..a447c15fe8 100644
--- a/package/kernel/lantiq/ltq-deu/src/ifxmips_sha1_hmac.c
+++ b/package/kernel/lantiq/ltq-deu/src/ifxmips_sha1_hmac.c
@@ -47,7 +47,7 @@
#include <linux/cryptohash.h>
#include <crypto/internal/hash.h>
#include <linux/types.h>
-#include <asm/scatterlist.h>
+#include <linux/scatterlist.h>
#include <asm/byteorder.h>
#include <linux/delay.h>