[SCSI] Switch ips to pci_register from pci_module
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Mon, 25 Sep 2006 22:45:51 +0000 (23:45 +0100)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sun, 1 Oct 2006 15:39:44 +0000 (10:39 -0500)
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/ips.c

index 3c63928..58065ff 100644 (file)
@@ -7078,7 +7078,7 @@ ips_remove_device(struct pci_dev *pci_dev)
 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();