From 73ba5e11f7582967f5151f5a3cb27932b47f44fa Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Mon, 13 Nov 2017 22:18:00 +0100 Subject: lantiq: fix lantiq applications kernel 4.14 compatiblity This is fixing multiple compile problems with kernel 4.14 and updates the code to take care of changes introduced between kernel 4.9 and 4.14. Signed-off-by: Hauke Mehrtens Signed-off-by: Mathias Kresin --- package/kernel/lantiq/ltq-vdsl/patches/001-fix-compile.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/kernel/lantiq/ltq-vdsl/patches/001-fix-compile.patch (limited to 'package/kernel/lantiq/ltq-vdsl') diff --git a/package/kernel/lantiq/ltq-vdsl/patches/001-fix-compile.patch b/package/kernel/lantiq/ltq-vdsl/patches/001-fix-compile.patch new file mode 100644 index 0000000000..1355a1a791 --- /dev/null +++ b/package/kernel/lantiq/ltq-vdsl/patches/001-fix-compile.patch @@ -0,0 +1,12 @@ +--- a/src/include/drv_dsl_cpe_os_linux.h ++++ b/src/include/drv_dsl_cpe_os_linux.h +@@ -33,6 +33,9 @@ + #endif + + #include ++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,11,0)) ++#include ++#endif + + #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33)) + #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,17)) -- cgit v1.2.3