aboutsummaryrefslogtreecommitdiffstats
path: root/main/dahdi-linux-grsec/zaphfc-dahdi-flortz.diff
diff options
context:
space:
mode:
Diffstat (limited to 'main/dahdi-linux-grsec/zaphfc-dahdi-flortz.diff')
-rw-r--r--main/dahdi-linux-grsec/zaphfc-dahdi-flortz.diff2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/dahdi-linux-grsec/zaphfc-dahdi-flortz.diff b/main/dahdi-linux-grsec/zaphfc-dahdi-flortz.diff
index f1ecc093af..dc856c97c7 100644
--- a/main/dahdi-linux-grsec/zaphfc-dahdi-flortz.diff
+++ b/main/dahdi-linux-grsec/zaphfc-dahdi-flortz.diff
@@ -1083,7 +1083,7 @@ Index: dahdi-linux-2.1.0.4/drivers/dahdi/zaphfc.c
- /* we need no stinking irq */
- hfctmp->irq = 0;
-#else
- if (request_irq(hfctmp->irq, &hfc_interrupt, DAHDI_IRQ_SHARED, "zaphfc", hfctmp)) {
+ if (request_irq(hfctmp->irq, &hfc_interrupt, IRQF_SHARED, "zaphfc", hfctmp)) {
printk(KERN_WARNING "zaphfc: unable to register irq\n");
- kfree(hfctmp->fifomem);
- kfree(hfctmp);