* [PATCH] tmscsim.c: Convert pci_module_init() to pci_register_driver()
@ 2007-01-12 13:31 Richard Knutsson
0 siblings, 0 replies; only message in thread
From: Richard Knutsson @ 2007-01-12 13:31 UTC (permalink / raw)
To: linux-scsi
Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>
---
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 related [flat|nested] only message in thread
only message in thread, other threads:[~2007-01-12 13:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-12 13:31 [PATCH] tmscsim.c: Convert 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).