patch-1.3.77 linux/drivers/cdrom/cdu31a.c

Next file: linux/drivers/cdrom/mcd.c
Previous file: linux/arch/i386/kernel/setup.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.76/linux/drivers/cdrom/cdu31a.c linux/drivers/cdrom/cdu31a.c
@@ -3168,6 +3168,10 @@
       printk("Can't unregister cdu31a\n");
       return;
    }
+
+   if (cdu31a_irq > 0)
+      free_irq(cdu31a_irq, NULL);
+
    release_region(cdu31a_port,4);
    printk("cdu31a module released.\n");
 }   

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this