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

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

diff -u --recursive --new-file v2.1.61/linux/drivers/net/ni65.c linux/drivers/net/ni65.c
@@ -285,7 +285,7 @@
 	}
 	else
 	{
-		free_irq(dev->irq,NULL);
+		free_irq(dev->irq,dev);
 		dev->start = 0;
 		return -EAGAIN;
 	}
@@ -312,7 +312,7 @@
 		}
 	}
 #endif
-	free_irq(dev->irq,NULL);
+	free_irq(dev->irq,dev);
 	dev->tbusy = 1;
 	dev->start = 0;
 	MOD_DEC_USE_COUNT;

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