[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:
parent
8350a348e9
commit
02a0fa676c
1 changed files with 1 additions and 1 deletions
|
@ -7078,7 +7078,7 @@ ips_remove_device(struct pci_dev *pci_dev)
|
||||||
static int __init
|
static int __init
|
||||||
ips_module_init(void)
|
ips_module_init(void)
|
||||||
{
|
{
|
||||||
if (pci_module_init(&ips_pci_driver) < 0)
|
if (pci_register_driver(&ips_pci_driver) < 0)
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
ips_driver_template.module = THIS_MODULE;
|
ips_driver_template.module = THIS_MODULE;
|
||||||
ips_order_controllers();
|
ips_order_controllers();
|
||||||
|
|
Loading…
Reference in a new issue