patch-2.4.19 linux-2.4.19/drivers/scsi/a3000.c

Next file: linux-2.4.19/drivers/scsi/aacraid/Makefile
Previous file: linux-2.4.19/drivers/scsi/a2091.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/drivers/scsi/a3000.c linux-2.4.19/drivers/scsi/a3000.c
@@ -199,9 +199,7 @@
     return 1;
 
 fail_irq:
-#ifdef MODULE
     wd33c93_release();
-#endif /* MODULE */
     scsi_unregister(a3000_host);
 fail_register:
     release_mem_region(0xDD0000, 256);
@@ -216,11 +214,11 @@
 
 int __exit a3000_release(struct Scsi_Host *instance)
 {
-#ifdef MODULE
     wd33c93_release();
-#endif /* MODULE*/
     DMA(instance)->CNTR = 0;
     release_mem_region(0xDD0000, 256);
     free_irq(IRQ_AMIGA_PORTS, a3000_intr);
     return 1;
 }
+
+MODULE_LICENSE("GPL");

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