aboutsummaryrefslogtreecommitdiffstats
path: root/main/dahdi-linux-grsec/zaphfc-dahdi-flortz.diff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-10-28 09:02:05 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-10-28 09:02:05 +0000
commit2fd071071a872dd78b321a1446c5ab1a81168021 (patch)
tree72df6c84d21745ed8c535d62df1917afab0e27c6 /main/dahdi-linux-grsec/zaphfc-dahdi-flortz.diff
parent41395d31a10fe74bb207ea0fcc97a90d66004252 (diff)
downloadaports-2fd071071a872dd78b321a1446c5ab1a81168021.tar.bz2
aports-2fd071071a872dd78b321a1446c5ab1a81168021.tar.xz
main/dahdi-linux-grsec: fix build and enable
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);