aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/lantiq/ltq-ifxos/patches/002-fix-compile.patch
blob: 38722290de23d714609ee042bc1119a95cf9d174 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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"