firmware-utils/mktplinkfw: add support for the TL-MR3220 v1
[openwrt.git] / package / ar7-atm / patches-D7.04.03.00 / 110-interrupt_fix.patch
1 --- a/tn7atm.c
2 +++ b/tn7atm.c
3 @@ -566,7 +566,7 @@ static int turbodsl_check_priority_type(
4 * Description: tnetd73xx SAR interrupt.
5 *
6 *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
7 -static void tn7atm_sar_irq (int irq, void *voiddev, struct pt_regs *regs)
8 +static irqreturn_t tn7atm_sar_irq (int irq, void *voiddev)
9 {
10 struct atm_dev *atmdev;
11 Tn7AtmPrivate *priv;
12 @@ -593,6 +593,7 @@ static void tn7atm_sar_irq (int irq, voi
13 #ifdef TIATM_INST_SUPP
14 psp_trace_par (ATM_DRV_SAR_ISR_EXIT, retval);
15 #endif
16 + return IRQ_HANDLED;
17 }
18
19 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 @@ -602,7 +603,7 @@ static void tn7atm_sar_irq (int irq, voi
21 * Description: tnetd73xx DSL interrupt.
22 *
23 *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
24 -static void tn7atm_dsl_irq (int irq, void *voiddev, struct pt_regs *regs)
25 +static irqreturn_t tn7atm_dsl_irq (int irq, void *voiddev)
26 {
27 struct atm_dev *atmdev;
28 Tn7AtmPrivate *priv;
29 @@ -624,6 +625,8 @@ static void tn7atm_dsl_irq (int irq, voi
30 #ifdef TIATM_INST_SUPP
31 psp_trace_par (ATM_DRV_DSL_ISR_EXIT, retval);
32 #endif
33 +
34 + return IRQ_HANDLED;
35 }
36
37 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This page took 0.050123 seconds and 5 git commands to generate.