patch-2.4.15 linux/drivers/scsi/ips.c

Next file: linux/drivers/scsi/osst.c
Previous file: linux/drivers/scsi/i60uscsi.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.14/linux/drivers/scsi/ips.c linux/drivers/scsi/ips.c
@@ -7566,8 +7566,10 @@
       return (0);
 }
 
+#if defined (MODULE) || (LINUX_VERSION_CODE >= LinuxVersionCode(2,4,0))
 static Scsi_Host_Template driver_template = IPS;
 #include "scsi_module.c"
+#endif
 
 /*
  * Overrides for Emacs so that we almost follow Linus's tabbing style.

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