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

Next file: linux/drivers/net/arc-rimi.c
Previous file: linux/drivers/net/ac3200.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.61/linux/drivers/net/apricot.c linux/drivers/net/apricot.c
@@ -547,7 +547,7 @@
 
     if (i < 4)
     {
-        free_irq(dev->irq, NULL);
+        free_irq(dev->irq, dev);
         return -EAGAIN;
     }
 
@@ -930,7 +930,7 @@
 		   dev->name, lp->scb.status, lp->scb.command);
 	    break;
     	}
-    free_irq(dev->irq, NULL);
+    free_irq(dev->irq, dev);
     remove_rx_bufs(dev);
     MOD_DEC_USE_COUNT;
 

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