patch-2.4.0-test9 linux/drivers/scsi/ultrastor.c

Next file: linux/drivers/scsi/wd7000.c
Previous file: linux/drivers/scsi/u14-34f.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test8/linux/drivers/scsi/ultrastor.c linux/drivers/scsi/ultrastor.c
@@ -1161,9 +1161,7 @@
     spin_unlock_irqrestore(&io_request_lock, flags);
 }
 
-#ifdef MODULE
 /* Eventually this will go into an include file, but this will be later */
-Scsi_Host_Template driver_template = ULTRASTOR_14F;
+static Scsi_Host_Template driver_template = ULTRASTOR_14F;
 
 #include "scsi_module.c"
-#endif

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