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

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

diff -u --recursive --new-file v2.1.61/linux/drivers/net/wavelan.c linux/drivers/net/wavelan.c
@@ -3922,7 +3922,7 @@
     }
   else
     {
-      free_irq(dev->irq, NULL);
+      free_irq(dev->irq, dev);
 #ifdef DEBUG_CONFIG_ERRORS
       printk(KERN_INFO "%s: wavelan_open(): impossible to start the card\n",
 	     dev->name);
@@ -3970,7 +3970,7 @@
    */
   wv_82586_stop(dev);
 
-  free_irq(dev->irq, NULL);
+  free_irq(dev->irq, dev);
 
   MOD_DEC_USE_COUNT;
 

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