summaryrefslogtreecommitdiff
path: root/wcfxo.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-12-11 18:27:15 +0000
committerkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-12-11 18:27:15 +0000
commitc67fe7392e989f369f5af0bf5a3a9908efb6ca5c (patch)
tree64ddcef7ee3fd0a40e9d237c1e5e38d18862d8f4 /wcfxo.c
parent5357ea9f7435fe331279f00921b7d28020606192 (diff)
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
Diffstat (limited to 'wcfxo.c')
-rw-r--r--wcfxo.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/wcfxo.c b/wcfxo.c
index 3c6edce..5898c57 100644
--- a/wcfxo.c
+++ b/wcfxo.c
@@ -396,11 +396,7 @@ static void wcfxo_tasklet(unsigned long data)
static void wcfxo_stop_dma(struct wcfxo *wc);
static void wcfxo_restart_dma(struct wcfxo *wc);
-#ifdef LINUX26
-static irqreturn_t wcfxo_interrupt(int irq, void *dev_id, struct pt_regs *regs)
-#else
-static void wcfxo_interrupt(int irq, void *dev_id, struct pt_regs *regs)
-#endif
+ZAP_IRQ_HANDLER(wcfxo_interrupt)
{
struct wcfxo *wc = dev_id;
unsigned char ints;