ltq-ifxos: Fix compile with ltq-tapi
authorHauke Mehrtens <hauke@hauke-m.de>
Tue, 1 Nov 2022 22:14:58 +0000 (23:14 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 5 Nov 2022 21:35:46 +0000 (22:35 +0100)
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>
package/kernel/lantiq/ltq-ifxos/patches/002-fix-compile.patch

index 7d78c126857b2fa18c0c39ad0abc9081116a746e..be518698e054d429f3d81a6cad91e27e478cc066 100644 (file)
  
  #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