diff options
author | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2003-10-27 15:09:58 +0000 |
---|---|---|
committer | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2003-10-27 15:09:58 +0000 |
commit | 74768740b2a7dd30d85567e258c9a8c9c75a0cae (patch) | |
tree | 511e92b67550ccf4ed4dec22e43a62b423e2cc94 /ztdummy.c | |
parent | 3d4261ec70978e7ca4dd833b5c913c64771efd7c (diff) |
Fix interrupt unload issue
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@259 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'ztdummy.c')
-rwxr-xr-x | ztdummy.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -30,6 +30,7 @@ #include <linux/module.h> #include <linux/init.h> #include <linux/usb.h> +#include <linux/pci.h> #include <linux/errno.h> #include <asm/io.h> #ifdef STANDALONE_ZAPATA @@ -151,7 +152,7 @@ int init_module(void) 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, "usb-uhci", s)) { + if (request_irq (irq, uhci_interrupt, SA_SHIRQ, s->uhci_pci->driver->name, s)) { spin_unlock_irq(&mylock); err("Original request_irq %d failed!",irq); } |