From: Felix Fietkau Date: Sun, 17 Jan 2016 19:23:14 +0000 (+0000) Subject: lantiq: ltq-deu: Make the DEU driver compatible with linux 4.2 and newer X-Git-Tag: reboot~845 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=95699dd3127e3acd27215e8ed359d3c35660406a;p=openwrt%2Fstaging%2Fblogic.git lantiq: ltq-deu: Make the DEU driver compatible with linux 4.2 and newer Upstream linux 4.2 commit 84be456f883c4685680fba8e5154b5f72e92957e "remove " 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 SVN-Revision: 48282 --- diff --git a/package/kernel/lantiq/ltq-deu/src/ifxmips_deu_ar9.h b/package/kernel/lantiq/ltq-deu/src/ifxmips_deu_ar9.h index 1d84da3a5ab2..69414553deae 100644 --- a/package/kernel/lantiq/ltq-deu/src/ifxmips_deu_ar9.h +++ b/package/kernel/lantiq/ltq-deu/src/ifxmips_deu_ar9.h @@ -54,7 +54,7 @@ #include #include #include -#include +#include #include #include #include "ifxmips_deu.h" diff --git a/package/kernel/lantiq/ltq-deu/src/ifxmips_deu_danube.h b/package/kernel/lantiq/ltq-deu/src/ifxmips_deu_danube.h index 62ad96d987a6..25efa04a6960 100644 --- a/package/kernel/lantiq/ltq-deu/src/ifxmips_deu_danube.h +++ b/package/kernel/lantiq/ltq-deu/src/ifxmips_deu_danube.h @@ -53,7 +53,7 @@ #include #include #include -#include +#include #include #include #include "ifxmips_deu.h" diff --git a/package/kernel/lantiq/ltq-deu/src/ifxmips_deu_dma.h b/package/kernel/lantiq/ltq-deu/src/ifxmips_deu_dma.h index 5198a4a11fdb..fde7a900bb4c 100644 --- a/package/kernel/lantiq/ltq-deu/src/ifxmips_deu_dma.h +++ b/package/kernel/lantiq/ltq-deu/src/ifxmips_deu_dma.h @@ -35,7 +35,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/package/kernel/lantiq/ltq-deu/src/ifxmips_deu_vr9.h b/package/kernel/lantiq/ltq-deu/src/ifxmips_deu_vr9.h index d2cfd1170216..fcbda4015955 100644 --- a/package/kernel/lantiq/ltq-deu/src/ifxmips_deu_vr9.h +++ b/package/kernel/lantiq/ltq-deu/src/ifxmips_deu_vr9.h @@ -54,7 +54,7 @@ #include #include #include -#include +#include #include #include #include "ifxmips_deu.h" diff --git a/package/kernel/lantiq/ltq-deu/src/ifxmips_sha1.c b/package/kernel/lantiq/ltq-deu/src/ifxmips_sha1.c index a5f5f90a795e..24925494bf77 100644 --- a/package/kernel/lantiq/ltq-deu/src/ifxmips_sha1.c +++ b/package/kernel/lantiq/ltq-deu/src/ifxmips_sha1.c @@ -48,7 +48,7 @@ #include #include #include -#include +#include #include #if defined(CONFIG_DANUBE) 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 a5a6c391541c..a447c15fe8aa 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 #include #include -#include +#include #include #include