diff options
Diffstat (limited to 'drivers/ide/pci/hpt366.c')
-rw-r--r-- | drivers/ide/pci/hpt366.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/pci/hpt366.c b/drivers/ide/pci/hpt366.c index 1f1135ce7cd6..b23b7a278005 100644 --- a/drivers/ide/pci/hpt366.c +++ b/drivers/ide/pci/hpt366.c | |||
@@ -1608,13 +1608,13 @@ static int __devinit hpt366_init_one(struct pci_dev *dev, const struct pci_devic | |||
1608 | d.host_flags &= ~IDE_HFLAG_NON_BOOTABLE; | 1608 | d.host_flags &= ~IDE_HFLAG_NON_BOOTABLE; |
1609 | } | 1609 | } |
1610 | 1610 | ||
1611 | ret = ide_setup_pci_devices(dev, dev2, &d); | 1611 | ret = ide_pci_init_two(dev, dev2, &d, NULL); |
1612 | if (ret < 0) | 1612 | if (ret < 0) |
1613 | pci_dev_put(dev2); | 1613 | pci_dev_put(dev2); |
1614 | return ret; | 1614 | return ret; |
1615 | } | 1615 | } |
1616 | 1616 | ||
1617 | return ide_setup_pci_device(dev, &d); | 1617 | return ide_pci_init_one(dev, &d, NULL); |
1618 | } | 1618 | } |
1619 | 1619 | ||
1620 | static const struct pci_device_id hpt366_pci_tbl[] __devinitconst = { | 1620 | static const struct pci_device_id hpt366_pci_tbl[] __devinitconst = { |