Răsfoiți Sursa

[SCSI] mptfusion - adding = THIS_MODULE

Signed-off-by: Eric Moore <Eric.Moore@lsil.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Moore, Eric Dean 19 ani în urmă
părinte
comite
f78496da6a

+ 1 - 0
drivers/message/fusion/mptfc.c

@@ -84,6 +84,7 @@ static int	mptfcTaskCtx = -1;
 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",

+ 1 - 0
drivers/message/fusion/mptsas.c

@@ -277,6 +277,7 @@ mptsas_slave_alloc(struct scsi_device *device)
 }
 
 static struct scsi_host_template mptsas_driver_template = {
+	.module				= THIS_MODULE,
 	.proc_name			= "mptsas",
 	.proc_info			= mptscsih_proc_info,
 	.name				= "MPT SPI Host",

+ 1 - 0
drivers/message/fusion/mptspi.c

@@ -103,6 +103,7 @@ static int	mptspiTaskCtx = -1;
 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",