From: Hauke Mehrtens Date: Tue, 1 Nov 2022 22:14:58 +0000 (+0100) Subject: ltq-ifxos: Fix compile with ltq-tapi X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b3aa998f6c1a3297b6f2a2330c97c30b1ccf00d8;p=openwrt%2Fstaging%2Fnbd.git 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 --- 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