diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2006-09-25 23:45:51 +0100 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-10-01 10:39:44 -0500 |
commit | 02a0fa676cd453ce4254c2eee838307ffc5c37f4 (patch) | |
tree | f81effff9a5658dc9c0d18f7be4000948e2e9f2f /drivers | |
parent | 8350a348e97c2f8aa3e91c025c0e040c90146414 (diff) | |
download | lwn-02a0fa676cd453ce4254c2eee838307ffc5c37f4.tar.gz lwn-02a0fa676cd453ce4254c2eee838307ffc5c37f4.zip |
[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')
-rw-r--r-- | drivers/scsi/ips.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ips.c b/drivers/scsi/ips.c index 3c639286ec1e..58065ff6936c 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(); |