[openwrt/openwrt] ltq-ifxos: Fix compile with ltq-tapi

LEDE Commits lede-commits at lists.infradead.org
Sat Nov 5 14:36:35 PDT 2022


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/b3aa998f6c1a3297b6f2a2330c97c30b1ccf00d8

commit b3aa998f6c1a3297b6f2a2330c97c30b1ccf00d8
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Tue Nov 1 23:14:58 2022 +0100

    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 at hauke-m.de>
---
 package/kernel/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 <asm/irq.h>
++#include <linux/interrupt.h>
+ 
+ /* ============================================================================
+    IFX Linux adaptation - supported features




More information about the lede-commits mailing list