patch-2.1.62 linux/drivers/net/3c509.c

Next file: linux/drivers/net/ac3200.c
Previous file: linux/drivers/net/3c507.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.61/linux/drivers/net/3c509.c linux/drivers/net/3c509.c
@@ -866,7 +866,7 @@
 		if (dev->priv != NULL) {
 			kfree_s(dev->priv,sizeof(struct el3_private));
 			dev->priv = NULL;
-			free_irq(dev->irq, NULL);
+			free_irq(dev->irq, dev);
 			release_region(dev->base_addr, EL3_IO_EXTENT);
 			unregister_netdev(dev);
 		}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov