From cdc5462dabd6f055c4e1afece9c321c4cb917350 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Sun, 22 Jun 2008 14:16:14 +0000 Subject: dsplink: enhance patches to build against more kernels --- packages/dsplink/dsplink_1.50.bb | 2 +- packages/dsplink/files/prcs-fix-include.patch | 40 +++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 1 deletion(-) (limited to 'packages/dsplink') diff --git a/packages/dsplink/dsplink_1.50.bb b/packages/dsplink/dsplink_1.50.bb index ee5fa75d34..99133efdca 100644 --- a/packages/dsplink/dsplink_1.50.bb +++ b/packages/dsplink/dsplink_1.50.bb @@ -5,7 +5,7 @@ RDEPENDS = "update-modules" inherit module -PR = "r1" +PR = "r2" PE = "1" PV = "1.50" diff --git a/packages/dsplink/files/prcs-fix-include.patch b/packages/dsplink/files/prcs-fix-include.patch index 12fcd5ec5d..421bd706f7 100644 --- a/packages/dsplink/files/prcs-fix-include.patch +++ b/packages/dsplink/files/prcs-fix-include.patch @@ -8,3 +8,43 @@ #include #include #include + +--- dvevm_1_00_00_32.orig/dsplink_1_30_07ce/packages/dsplink_dm420/gpp/src/osal/Linux/2.6/isr.c ++++ dsplink_1_50/dsplink/gpp/src/osal/Linux/2.6.18/isr.c +@@ -130,7 +130,7 @@ struct IsrObject_tag { + */ + STATIC + irqreturn_t +-ISR_Callback (int irq, void * arg, struct pt_regs * flags) ; ++ISR_Callback (int irq, void * arg) ; + + + /* ============================================================================ +@@ -664,7 +664,7 @@ ISR_Debug () + */ + STATIC + irqreturn_t +-ISR_Callback (int irq, void * arg, struct pt_regs * flags) ++ISR_Callback (int irq, void * arg) + { + DSP_STATUS status = DSP_SOK ; + IsrObject * isrObj = (IsrObject *) (arg) ; + +--- /tmp/mem.c 2008-06-22 16:05:16.000000000 +0200 ++++ dsplink_1_50/dsplink/gpp/src/osal/Linux/2.6.18/mem.c 2008-06-22 16:05:43.000000000 +0200 +@@ -16,6 +16,7 @@ + + + /* ----------------------------------- OS Specific Headers */ ++ + #include + #include + #if (defined(DM642_PCI) || defined (DM64LC_PCI)) +@@ -31,6 +32,7 @@ + #endif /* if (defined(DM642_PCI) || defined (DM64LC_PCI)) */ + #include + #include ++#include + + /* ----------------------------------- DSP/BIOS Link */ + #include -- cgit v1.2.3