diff options
author | kpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-07-19 02:05:03 +0000 |
---|---|---|
committer | kpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-07-19 02:05:03 +0000 |
commit | 1653b9dd29b780476545f807d8ae52efcae02048 (patch) | |
tree | 2a294416304758ba5e863b53bfde2d5349cb17e0 /ztdummy.c | |
parent | 2b0a37c8514e587dcb396807ec0616dff0256f82 (diff) |
update to 2.6.22 request_irq() flags
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2756 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'ztdummy.c')
-rw-r--r-- | ztdummy.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -265,13 +265,13 @@ int init_module(void) irq=s->irq; spin_lock_irq(&mylock); free_irq(s->irq, s); /* remove uhci_interrupt temporaly */ - if (request_irq (irq, ztdummy_interrupt, SA_SHIRQ, "ztdummy", ztd)) { + if (request_irq (irq, ztdummy_interrupt, ZAP_IRQ_SHARED, "ztdummy", ztd)) { spin_unlock_irq(&mylock); err("Our request_irq %d failed!",irq); kfree(ztd); return -EIO; } /* we add our handler first, to assure, that our handler gets called first */ - if (request_irq (irq, uhci_interrupt, SA_SHIRQ, s->uhci_pci->driver->name, s)) { + if (request_irq (irq, uhci_interrupt, ZAP_IRQ_SHARED, s->uhci_pci->driver->name, s)) { spin_unlock_irq(&mylock); err("Original request_irq %d failed!",irq); } |