public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH]: Switch ips to pci_register from pci_module
@ 2006-09-25 22:45 Alan Cox
  0 siblings, 0 replies; only message in thread
From: Alan Cox @ 2006-09-25 22:45 UTC (permalink / raw)
  To: linux-scsi

Signed-off-by: Alan Cox <alan@redhat.com>
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.18-mm1/drivers/scsi/ips.c linux-2.6.18-mm1/drivers/scsi/ips.c
--- linux.vanilla-2.6.18-mm1/drivers/scsi/ips.c	2006-09-25 12:08:54.000000000 +0100
+++ linux-2.6.18-mm1/drivers/scsi/ips.c	2006-09-25 12:26:15.000000000 +0100
@@ -7078,7 +7078,7 @@
 static int __init
 ips_module_init(void)
 {
-	if (pci_module_init(&ips_pci_driver) < 0)
+	if (pci_register_driver(&ips_pci_driver) < 0)
 		return -ENODEV;
 	ips_driver_template.module = THIS_MODULE;
 	ips_order_controllers();


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

only message in thread, other threads:[~2006-09-25 22:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-25 22:45 [PATCH]: Switch ips to pci_register from pci_module Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox