patch-2.0.24 linux/drivers/scsi/AM53C974.c

Next file: linux/drivers/scsi/BusLogic.c
Previous file: linux/drivers/net/tulip.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.23/linux/drivers/scsi/AM53C974.c linux/drivers/scsi/AM53C974.c
@@ -1,3 +1,5 @@
+#include <linux/module.h>
+
 #include <linux/config.h>
 #include <linux/delay.h>
 #include <linux/signal.h>
@@ -2241,3 +2243,10 @@
 cmd->scsi_done(cmd);
 return SCSI_ABORT_SUCCESS;
 }
+
+#ifdef MODULE
+/* Eventually this will go into an include file, but this will be later */
+Scsi_Host_Template driver_template = AM53C974;
+
+#include "scsi_module.c"
+#endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov