aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2022-11-01 23:14:58 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2022-11-05 22:35:46 +0100
commitb3aa998f6c1a3297b6f2a2330c97c30b1ccf00d8 (patch)
treebb0e5723ea013aed9f4e6d2ae15b17e21d045940 /package/kernel
parent8b383ee2a0d21144258346ad39006fc499d04b4f (diff)
downloadupstream-b3aa998f6c1a3297b6f2a2330c97c30b1ccf00d8.tar.gz
upstream-b3aa998f6c1a3297b6f2a2330c97c30b1ccf00d8.tar.bz2
upstream-b3aa998f6c1a3297b6f2a2330c97c30b1ccf00d8.zip
ltq-ifxos: Fix compile with ltq-tapi
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>
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/lantiq/ltq-ifxos/patches/002-fix-compile.patch11
1 files changed, 11 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
index 7d78c12685..be518698e0 100644
--- a/package/kernel/lantiq/ltq-ifxos/patches/002-fix-compile.patch
+++ b/package/kernel/lantiq/ltq-ifxos/patches/002-fix-compile.patch
@@ -20,3 +20,14 @@
#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