patch-2.4.0-test9 linux/drivers/scsi/u14-34f.c

Next file: linux/drivers/scsi/ultrastor.c
Previous file: linux/drivers/scsi/tmscsim.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test8/linux/drivers/scsi/u14-34f.c linux/drivers/scsi/u14-34f.c
@@ -1964,12 +1964,11 @@
    return FALSE;
 }
 
-#if defined(MODULE)
-Scsi_Host_Template driver_template = ULTRASTOR_14_34F;
+static Scsi_Host_Template driver_template = ULTRASTOR_14_34F;
 
 #include "scsi_module.c"
 
-#else
+#ifndef MODULE
 
 #if LINUX_VERSION_CODE < LinuxVersionCode(2,3,18)
 void u14_34f_setup(char *str, int *ints) {

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