[SCSI] Switch ips to pci_register from pci_module

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
Alan Cox 2006-09-25 23:45:51 +01:00 committed by James Bottomley
parent 8350a348e9
commit 02a0fa676c

View 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();