[package] remove the i2c-gpio-custom driver from adm5120, and make it available on...
[openwrt.git] / package / ar7-atm / patches / 110-interrupt_fix.patch
1 diff -urN sangam_atm-D7.03.01.00.orig/tn7atm.c sangam_atm-D7.03.01.00/tn7atm.c
2 --- sangam_atm-D7.03.01.00.orig/tn7atm.c 2008-01-05 03:11:23.000000000 +0100
3 +++ sangam_atm-D7.03.01.00/tn7atm.c 2008-01-05 03:11:34.000000000 +0100
4 @@ -566,7 +566,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 @@ -593,6 +593,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 @@ -602,7 +603,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 @@ -624,6 +625,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.045916 seconds and 5 git commands to generate.