LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] scsi/tmscsim.c: pci_module_init to pci_register_driver
@ 2007-02-14 0:40 Richard Knutsson
0 siblings, 0 replies; only message in thread
From: Richard Knutsson @ 2007-02-14 0:40 UTC (permalink / raw)
To: James Bottomley, Andrew Morton; +Cc: linux-kernel, linux-scsi, Richard Knutsson
Convert pci_module_init() to pci_register_driver().
Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>
---
Compile-tested with "allyes", "allmod" & "allno" on i386
diff --git a/drivers/scsi/tmscsim.c b/drivers/scsi/tmscsim.c
index fa5382e..ce8845e 100644
--- a/drivers/scsi/tmscsim.c
+++ b/drivers/scsi/tmscsim.c
@@ -2681,7 +2681,7 @@ static int __init dc390_module_init(void)
printk (KERN_INFO "DC390: Using safe settings.\n");
}
- return pci_module_init(&dc390_driver);
+ return pci_register_driver(&dc390_driver);
}
static void __exit dc390_module_exit(void)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-02-14 0:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-14 0:40 [PATCH] scsi/tmscsim.c: pci_module_init to pci_register_driver Richard Knutsson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).