patch-2.2.17 linux/drivers/scsi/mesh.c

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

diff -u --recursive --new-file v2.2.16/drivers/scsi/mesh.c linux/drivers/scsi/mesh.c
@@ -8,6 +8,7 @@
  * Copyright (C) 1996 Paul Mackerras.
  */
 #include <linux/config.h>
+#include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/delay.h>
 #include <linux/types.h>
@@ -1910,6 +1911,12 @@
 		return 0;
 	}
 }
+
+#ifdef MODULE
+Scsi_Host_Template driver_template = SCSI_MESH;
+
+#include "scsi_module.c"
+#endif /* MODULE */
 
 #ifdef MESH_DBG
 static inline u32 readtb(void)

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