Signed-off-by: Eric Moore <Eric.Moore@lsil.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
@@ -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",
@@ -277,6 +277,7 @@ mptsas_slave_alloc(struct scsi_device *device)
}
static struct scsi_host_template mptsas_driver_template = {
.proc_name = "mptsas",
.name = "MPT SPI Host",
@@ -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 = {
.proc_name = "mptspi",