aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/lantiq/ltq-ifxos
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2017-11-13 22:18:00 +0100
committerMathias Kresin <dev@kresin.me>2018-02-20 19:25:17 +0100
commit73ba5e11f7582967f5151f5a3cb27932b47f44fa (patch)
tree0241af7a006b080d82645c31d23115c1ad3b98b4 /package/kernel/lantiq/ltq-ifxos
parentf8a6987cd1aae8698062c8ac3907193a5c66004a (diff)
downloadupstream-73ba5e11f7582967f5151f5a3cb27932b47f44fa.tar.gz
upstream-73ba5e11f7582967f5151f5a3cb27932b47f44fa.tar.bz2
upstream-73ba5e11f7582967f5151f5a3cb27932b47f44fa.zip
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 <hauke@hauke-m.de> Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'package/kernel/lantiq/ltq-ifxos')
-rw-r--r--package/kernel/lantiq/ltq-ifxos/patches/002-fix-compile.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/kernel/lantiq/ltq-ifxos/patches/002-fix-compile.patch b/package/kernel/lantiq/ltq-ifxos/patches/002-fix-compile.patch
new file mode 100644
index 0000000000..38722290de
--- /dev/null
+++ b/package/kernel/lantiq/ltq-ifxos/patches/002-fix-compile.patch
@@ -0,0 +1,22 @@
+--- a/src/linux/ifxos_linux_copy_user_space_drv.c
++++ b/src/linux/ifxos_linux_copy_user_space_drv.c
+@@ -29,7 +29,7 @@
+ #ifdef MODULE
+ #include <linux/module.h>
+ #endif
+-#include <asm/uaccess.h>
++#include <linux/uaccess.h>
+
+ #include "ifx_types.h"
+ #include "ifxos_rt_if_check.h"
+--- a/src/linux/ifxos_linux_socket_drv.c
++++ b/src/linux/ifxos_linux_socket_drv.c
+@@ -25,7 +25,7 @@
+ #endif
+ #include <linux/in.h>
+ #include <linux/net.h>
+-#include <asm/uaccess.h>
++#include <linux/uaccess.h>
+
+ #include "ifx_types.h"
+ #include "ifxos_rt_if_check.h"