lantiq: ltq-deu: Make the DEU driver compatible with linux 4.2 and newer
authorFelix Fietkau <nbd@openwrt.org>
Sun, 17 Jan 2016 19:23:14 +0000 (19:23 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 17 Jan 2016 19:23:14 +0000 (19:23 +0000)
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

package/kernel/lantiq/ltq-deu/src/ifxmips_deu_ar9.h
package/kernel/lantiq/ltq-deu/src/ifxmips_deu_danube.h
package/kernel/lantiq/ltq-deu/src/ifxmips_deu_dma.h
package/kernel/lantiq/ltq-deu/src/ifxmips_deu_vr9.h
package/kernel/lantiq/ltq-deu/src/ifxmips_sha1.c
package/kernel/lantiq/ltq-deu/src/ifxmips_sha1_hmac.c

index 1d84da3a5ab22efccec3fa6aca094da33163af11..69414553deae826cc1b65b5d7037c9888e5c5869 100644 (file)
@@ -54,7 +54,7 @@
 #include <crypto/algapi.h>
 #include <linux/module.h>
 #include <linux/mm.h>
-#include <asm/scatterlist.h>
+#include <linux/scatterlist.h>
 #include <linux/skbuff.h>
 #include <linux/netdevice.h>
 #include "ifxmips_deu.h"
index 62ad96d987a6be1e09d5263abd3ad333fc98eb56..25efa04a6960aafbde5da133ff56436806328dd4 100644 (file)
@@ -53,7 +53,7 @@
 #include <crypto/algapi.h>
 #include <linux/module.h>
 #include <linux/mm.h>
-#include <asm/scatterlist.h>
+#include <linux/scatterlist.h>
 #include <linux/skbuff.h>
 #include <linux/netdevice.h>
 #include "ifxmips_deu.h"
index 5198a4a11fdb5570d79a48428d617ffd71c61210..fde7a900bb4c56272f3e2ea623509c6475f8f440 100644 (file)
@@ -35,7 +35,7 @@
 #include <linux/module.h>
 #include <linux/mm.h>
 #include <linux/crypto.h>
-#include <asm/scatterlist.h>
+#include <linux/scatterlist.h>
 #include <asm/byteorder.h>
 #include <linux/skbuff.h>
 #include <linux/netdevice.h>
index d2cfd11702166d944465db8932baeec1647f88fe..fcbda40159554c7fcc20d71cc8f2622bcb3af674 100644 (file)
@@ -54,7 +54,7 @@
 #include <crypto/algapi.h>
 #include <linux/module.h>
 #include <linux/mm.h>
-#include <asm/scatterlist.h>
+#include <linux/scatterlist.h>
 #include <linux/skbuff.h>
 #include <linux/netdevice.h>
 #include "ifxmips_deu.h"
index a5f5f90a795e6874759ff8fc0131bdfad3b5e2cb..24925494bf77dc52c603d075835e1e54114807db 100644 (file)
@@ -48,7 +48,7 @@
 #include <crypto/sha.h>
 #include <crypto/internal/hash.h>
 #include <linux/types.h>
-#include <asm/scatterlist.h>
+#include <linux/scatterlist.h>
 #include <asm/byteorder.h>
 
 #if defined(CONFIG_DANUBE)
index a5a6c391541cc6c2519e737c2ce0f0a270f4aeaa..a447c15fe8aa6ab29c5bd8ed22c3dff0d08aac41 100644 (file)
@@ -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>