patch-2.1.62 linux/drivers/net/ltpc.c

Next file: linux/drivers/net/ne.c
Previous file: linux/drivers/net/lance.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.61/linux/drivers/net/ltpc.c linux/drivers/net/ltpc.c
@@ -1023,9 +1023,9 @@
 
 	cli();
  
-	if (!probe3) free_irq(3,NULL);
-	if (!probe4) free_irq(4,NULL);
-	if (!probe9) free_irq(9,NULL);
+	if (!probe3) free_irq(3,dev);
+	if (!probe4) free_irq(4,dev);
+	if (!probe9) free_irq(9,dev);
 
 	sti();
  
@@ -1248,7 +1248,7 @@
 	if(debug&DEBUG_VERBOSE) printk("freeing irq\n");
 
 	if(dev_ltpc.irq) {
-		free_irq(dev_ltpc.irq,NULL);
+		free_irq(dev_ltpc.irq,&dev_ltpc);
 		dev_ltpc.irq = 0;
 	}
 

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