From 74768740b2a7dd30d85567e258c9a8c9c75a0cae Mon Sep 17 00:00:00 2001 From: markster Date: Mon, 27 Oct 2003 15:09:58 +0000 Subject: Fix interrupt unload issue git-svn-id: http://svn.digium.com/svn/zaptel/trunk@259 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- ztdummy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ztdummy.c') diff --git a/ztdummy.c b/ztdummy.c index 41024b2..eb21332 100755 --- a/ztdummy.c +++ b/ztdummy.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #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); } -- cgit v1.2.3