Skip to contentSkip to conversation

: Switch ips to pci_register from pci_module

PATCH New Alan Cox 1 participant 1 message Sep 25, 2006

Subsystems (3)
lore
Share & tools
lore

Alan Cox

author
#0 lore raw

PATCH 1/1 : Switch ips to pci_register from pci_module

drivers/scsi/ips.c +1 -1
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
@@ -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();