From b3aa998f6c1a3297b6f2a2330c97c30b1ccf00d8 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Tue, 1 Nov 2022 23:14:58 +0100 Subject: [PATCH] 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 --- .../lantiq/ltq-ifxos/patches/002-fix-compile.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 ++#include + + /* ============================================================================ + IFX Linux adaptation - supported features -- 2.30.2