diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2006-09-25 18:45:51 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-10-01 11:39:44 -0400 |
commit | 02a0fa676cd453ce4254c2eee838307ffc5c37f4 (patch) | |
tree | f81effff9a5658dc9c0d18f7be4000948e2e9f2f /drivers/scsi/ips.c | |
parent | 8350a348e97c2f8aa3e91c025c0e040c90146414 (diff) |
[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.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) | |||
7078 | static int __init | 7078 | static int __init |
7079 | ips_module_init(void) | 7079 | ips_module_init(void) |
7080 | { | 7080 | { |
7081 | if (pci_module_init(&ips_pci_driver) < 0) | 7081 | if (pci_register_driver(&ips_pci_driver) < 0) |
7082 | return -ENODEV; | 7082 | return -ENODEV; |
7083 | ips_driver_template.module = THIS_MODULE; | 7083 | ips_driver_template.module = THIS_MODULE; |
7084 | ips_order_controllers(); | 7084 | ips_order_controllers(); |