Skip to contentSkip to conversation

mptfusion - adding = THIS_MODULE

PATCH New Moore, Eric Dean 1 participant 1 message Nov 17, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/7 mptfusion - adding = THIS_MODULE

Self explanatory patch.

drivers/message/fusion/mptfc.c +1 -0
diff -uarN b/drivers/message/fusion/mptfc.c a/drivers/message/fusion/mptfc.c
@@ -84,6 +84,7 @@
 static int	mptfcInternalCtx = -1; /* Used only for internal commands */
 
 static struct scsi_host_template mptfc_driver_template = {
+	.module				= THIS_MODULE,
 	.proc_name			= "mptfc",
 	.proc_info			= mptscsih_proc_info,
 	.name				= "MPT FC Host",
drivers/message/fusion/mptsas.c +1 -0
diff -uarN b/drivers/message/fusion/mptsas.c a/drivers/message/fusion/mptsas.c
@@ -277,6 +277,7 @@
 }
 
 static struct scsi_host_template mptsas_driver_template = {
+	.module				= THIS_MODULE,
 	.proc_name			= "mptsas",
 	.proc_info			= mptscsih_proc_info,
 	.name				= "MPT SPI Host",
drivers/message/fusion/mptspi.c +1 -0
diff -uarN b/drivers/message/fusion/mptspi.c a/drivers/message/fusion/mptspi.c
@@ -103,6 +103,7 @@
 static int	mptspiInternalCtx = -1; /* Used only for internal commands */
 
 static struct scsi_host_template mptspi_driver_template = {
+	.module				= THIS_MODULE,
 	.proc_name			= "mptspi",
 	.proc_info			= mptscsih_proc_info,
 	.name				= "MPT SPI Host",