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 --- torisa.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'torisa.c') diff --git a/torisa.c b/torisa.c index 2215cc8..999eff1 100644 --- a/torisa.c +++ b/torisa.c @@ -744,11 +744,7 @@ static void torisa_tasklet(unsigned long data) static int txerrors; -#ifdef LINUX26 -static irqreturn_t torisa_intr(int irq, void *dev_id, struct pt_regs *regs) -#else -static void torisa_intr(int irq, void *dev_id, struct pt_regs *regs) -#endif +ZAP_IRQ_HANDLER(torisa_intr) { static unsigned int passno = 0, mysynccnt = 0, lastsyncsrc = -1; int n, n1, i, j, k, x, mysyncsrc, oldn; -- cgit v1.2.3