mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 17:01:14 +00:00
b3aa998f6c
Do not include asm/irq.h directly, but include linux/interrupt.h instead. This fixes the build of ltq-tapi with lantiq/xway. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
34 lines
1017 B
Diff
34 lines
1017 B
Diff
--- a/src/linux/ifxos_linux_socket_drv.c
|
|
+++ b/src/linux/ifxos_linux_socket_drv.c
|
|
@@ -28,7 +28,7 @@
|
|
#include <linux/net.h>
|
|
#include <linux/fs.h>
|
|
#include <linux/inet.h>
|
|
-#include <asm/uaccess.h>
|
|
+#include <linux/uaccess.h>
|
|
|
|
#include "ifx_types.h"
|
|
#include "ifxos_rt_if_check.h"
|
|
--- a/src/linux/ifxos_linux_socket_ipv6_drv.c
|
|
+++ b/src/linux/ifxos_linux_socket_ipv6_drv.c
|
|
@@ -25,7 +25,7 @@
|
|
#include <linux/version.h>
|
|
#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"
|
|
--- a/src/include/linux/ifxos_linux_interrupt.h
|
|
+++ b/src/include/linux/ifxos_linux_interrupt.h
|
|
@@ -31,7 +31,7 @@
|
|
IFX Linux adaptation - Includes
|
|
========================================================================= */
|
|
#include "ifx_types.h"
|
|
-#include <asm/irq.h>
|
|
+#include <linux/interrupt.h>
|
|
|
|
/* ============================================================================
|
|
IFX Linux adaptation - supported features
|