All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/7]  mptfusion - adding = THIS_MODULE
@ 2005-11-17  1:54 Moore, Eric Dean
  0 siblings, 0 replies; only message in thread
From: Moore, Eric Dean @ 2005-11-17  1:54 UTC (permalink / raw)
  To: linux scsi

[-- Attachment #1: Type: text/plain, Size: 74 bytes --]

Self explanatory patch.

Signed-off-by: Eric Moore <Eric.Moore@lsil.com>


[-- Attachment #2: 2-module-fix.patch --]
[-- Type: text/x-diff, Size: 1434 bytes --]

diff -uarN b/drivers/message/fusion/mptfc.c a/drivers/message/fusion/mptfc.c
--- b/drivers/message/fusion/mptfc.c	2005-10-27 18:02:08.000000000 -0600
+++ a/drivers/message/fusion/mptfc.c	2005-11-16 17:22:38.000000000 -0700
@@ -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",
diff -uarN b/drivers/message/fusion/mptsas.c a/drivers/message/fusion/mptsas.c
--- b/drivers/message/fusion/mptsas.c	2005-11-16 12:54:28.000000000 -0700
+++ a/drivers/message/fusion/mptsas.c	2005-11-16 17:23:02.000000000 -0700
@@ -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",
diff -uarN b/drivers/message/fusion/mptspi.c a/drivers/message/fusion/mptspi.c
--- b/drivers/message/fusion/mptspi.c	2005-10-27 18:02:08.000000000 -0600
+++ a/drivers/message/fusion/mptspi.c	2005-11-16 17:22:29.000000000 -0700
@@ -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",

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-11-17  1:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-17  1:54 [PATCH 2/7] mptfusion - adding = THIS_MODULE Moore, Eric Dean

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.