Fix mppe packaging from #1742
[openwrt.git] / package / ar7-atm / patches / 110-interrupt_fix.patch
1 diff -ur atm.old/tn7atm.c atm.dev/tn7atm.c
2 --- atm.old/tn7atm.c 2007-04-20 21:04:28.479287240 +0200
3 +++ atm.dev/tn7atm.c 2007-04-20 21:09:05.288205888 +0200
4 @@ -553,7 +553,7 @@
5 * Description: tnetd73xx SAR interrupt.
6 *
7 *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
8 -static void tn7atm_sar_irq (int irq, void *voiddev, struct pt_regs *regs)
9 +static irqreturn_t tn7atm_sar_irq (int irq, void *voiddev)
10 {
11 struct atm_dev *atmdev;
12 Tn7AtmPrivate *priv;
13 @@ -580,6 +580,7 @@
14 #ifdef TIATM_INST_SUPP
15 psp_trace_par (ATM_DRV_SAR_ISR_EXIT, retval);
16 #endif
17 + return IRQ_HANDLED;
18 }
19
20 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
21 @@ -589,7 +590,7 @@
22 * Description: tnetd73xx DSL interrupt.
23 *
24 *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
25 -static void tn7atm_dsl_irq (int irq, void *voiddev, struct pt_regs *regs)
26 +static irqreturn_t tn7atm_dsl_irq (int irq, void *voiddev)
27 {
28 struct atm_dev *atmdev;
29 Tn7AtmPrivate *priv;
30 @@ -611,6 +612,8 @@
31 #ifdef TIATM_INST_SUPP
32 psp_trace_par (ATM_DRV_DSL_ISR_EXIT, retval);
33 #endif
34 +
35 + return IRQ_HANDLED;
36 }
37
38 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This page took 0.096964 seconds and 5 git commands to generate.