提交 f78496da 编写于 作者: M Moore, Eric Dean 提交者: James Bottomley

[SCSI] mptfusion - adding = THIS_MODULE

Signed-off-by: NEric Moore <Eric.Moore@lsil.com>
Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
上级 1cb25a27
...@@ -84,6 +84,7 @@ static int mptfcTaskCtx = -1; ...@@ -84,6 +84,7 @@ static int mptfcTaskCtx = -1;
static int mptfcInternalCtx = -1; /* Used only for internal commands */ static int mptfcInternalCtx = -1; /* Used only for internal commands */
static struct scsi_host_template mptfc_driver_template = { static struct scsi_host_template mptfc_driver_template = {
.module = THIS_MODULE,
.proc_name = "mptfc", .proc_name = "mptfc",
.proc_info = mptscsih_proc_info, .proc_info = mptscsih_proc_info,
.name = "MPT FC Host", .name = "MPT FC Host",
......
...@@ -277,6 +277,7 @@ mptsas_slave_alloc(struct scsi_device *device) ...@@ -277,6 +277,7 @@ mptsas_slave_alloc(struct scsi_device *device)
} }
static struct scsi_host_template mptsas_driver_template = { static struct scsi_host_template mptsas_driver_template = {
.module = THIS_MODULE,
.proc_name = "mptsas", .proc_name = "mptsas",
.proc_info = mptscsih_proc_info, .proc_info = mptscsih_proc_info,
.name = "MPT SPI Host", .name = "MPT SPI Host",
......
...@@ -103,6 +103,7 @@ static int mptspiTaskCtx = -1; ...@@ -103,6 +103,7 @@ static int mptspiTaskCtx = -1;
static int mptspiInternalCtx = -1; /* Used only for internal commands */ static int mptspiInternalCtx = -1; /* Used only for internal commands */
static struct scsi_host_template mptspi_driver_template = { static struct scsi_host_template mptspi_driver_template = {
.module = THIS_MODULE,
.proc_name = "mptspi", .proc_name = "mptspi",
.proc_info = mptscsih_proc_info, .proc_info = mptscsih_proc_info,
.name = "MPT SPI Host", .name = "MPT SPI Host",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册