diff options
Diffstat (limited to 'package/kernel/lantiq/ltq-ifxos/patches')
-rw-r--r-- | package/kernel/lantiq/ltq-ifxos/patches/002-fix-compile.patch | 22 |
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" |