patch-2.4.23 linux-2.4.23/drivers/char/pcwd.c

Next file: linux-2.4.23/drivers/char/rocket.c
Previous file: linux-2.4.23/drivers/char/pcmcia/synclink_cs.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/drivers/char/pcwd.c linux-2.4.23/drivers/char/pcwd.c
@@ -933,8 +933,7 @@
 
 	release_region (pcwd_info.io_addr, pcwd_info.card_info->io_size);
 
-	if (pcwd_info.flags & PCWD_PCI_REG)
-		pci_unregister_driver (&pcwd_driver);
+	pci_unregister_driver (&pcwd_driver);
 
 	return;
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)