summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ips.c
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2006-09-25 23:45:51 +0100
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-10-01 10:39:44 -0500
commit02a0fa676cd453ce4254c2eee838307ffc5c37f4 (patch)
treef81effff9a5658dc9c0d18f7be4000948e2e9f2f /drivers/scsi/ips.c
parent8350a348e97c2f8aa3e91c025c0e040c90146414 (diff)
downloadop-kernel-dev-02a0fa676cd453ce4254c2eee838307ffc5c37f4.zip
op-kernel-dev-02a0fa676cd453ce4254c2eee838307ffc5c37f4.tar.gz
[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>
Diffstat (limited to 'drivers/scsi/ips.c')
-rw-r--r--drivers/scsi/ips.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ips.c b/drivers/scsi/ips.c
index 3c63928..58065ff 100644
--- a/drivers/scsi/ips.c
+++ b/drivers/scsi/ips.c
@@ -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();
OpenPOWER on IntegriCloud