diff options
author | mattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-07-20 19:17:25 +0000 |
---|---|---|
committer | mattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-07-20 19:17:25 +0000 |
commit | 641063fa1c0c8db9722df030570826ab1850c3c9 (patch) | |
tree | fa6381d60c59be4d7b140f95b55c1374292ae9de /wctdm24xxp | |
parent | b1acf2d381141c8b547821b2c15f0405380d1d08 (diff) |
Add new 2.6.22 api updates
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2765 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wctdm24xxp')
-rw-r--r-- | wctdm24xxp/base.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wctdm24xxp/base.c b/wctdm24xxp/base.c index f7f0071..62c7cf8 100644 --- a/wctdm24xxp/base.c +++ b/wctdm24xxp/base.c @@ -3374,7 +3374,7 @@ static int __devinit wctdm_init_one(struct pci_dev *pdev, const struct pci_devic /* Keep track of which device we are */ pci_set_drvdata(pdev, wc); - if (request_irq(pdev->irq, wctdm_interrupt, SA_SHIRQ, wc->variety, wc)) { + if (request_irq(pdev->irq, wctdm_interrupt, ZAP_IRQ_SHARED, wc->variety, wc)) { printk("wctdm24xxp: Unable to request IRQ %d\n", pdev->irq); if (wc->freeregion) release_region(wc->iobase, 0xff); @@ -3525,7 +3525,7 @@ static int __init wctdm_init(void) memset((void *)ifaces,0,(sizeof(struct wctdm *))*WC_MAX_IFACES); - res = pci_module_init(&wctdm_driver); + res = zap_pci_module(&wctdm_driver); if (res) return -ENODEV; return 0; |