patch-2.1.62 linux/drivers/net/cops.c
Next file: linux/drivers/net/cs89x0.c
Previous file: linux/drivers/net/com90xx.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Mon Nov  3 09:29:30 1997
-  Orig file: 
v2.1.61/linux/drivers/net/cops.c
-  Orig date: 
Sat Oct 25 02:44:15 1997
diff -u --recursive --new-file v2.1.61/linux/drivers/net/cops.c linux/drivers/net/cops.c
@@ -1005,7 +1005,7 @@
 {
         /* No need to check MOD_IN_USE, as sys_delete_module() checks. */
 
-        free_irq(dev_cops.irq, NULL);
+        free_irq(dev_cops.irq, &dev_cops);
         release_region(dev_cops.base_addr, COPS_IO_EXTENT);
 	unregister_netdev(&dev_cops);
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov