From c67fe7392e989f369f5af0bf5a3a9908efb6ca5c Mon Sep 17 00:00:00 2001 From: kpfleming Date: Mon, 11 Dec 2006 18:27:15 +0000 Subject: kernel 2.6.19 API changes compatibility git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1697 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- wct4xxp/base.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'wct4xxp') diff --git a/wct4xxp/base.c b/wct4xxp/base.c index c980d8c..68200be 100644 --- a/wct4xxp/base.c +++ b/wct4xxp/base.c @@ -2238,11 +2238,7 @@ static inline void __handle_leds(struct t4 *wc) } #ifdef SUPPORT_GEN1 -#ifdef LINUX26 -static irqreturn_t t4_interrupt(int irq, void *dev_id, struct pt_regs *regs) -#else -static void t4_interrupt(int irq, void *dev_id, struct pt_regs *regs) -#endif +ZAP_IRQ_HANDLER(t4_interrupt) { struct t4 *wc = dev_id; unsigned long flags; @@ -2395,11 +2391,7 @@ static inline void __t4_framer_interrupt(struct t4 *wc, int span) } } -#ifdef LINUX26 -static irqreturn_t t4_interrupt_gen2(int irq, void *dev_id, struct pt_regs *regs) -#else -static void t4_interrupt_gen2(int irq, void *dev_id, struct pt_regs *regs) -#endif +ZAP_IRQ_HANDLER(t4_interrupt_gen2) { struct t4 *wc = dev_id; unsigned long flags; -- cgit v1.2.3