diff options
-rw-r--r-- | drivers/usb/host/ohci-pci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-pci.c b/drivers/usb/host/ohci-pci.c index 3732db7d68eb..874418552789 100644 --- a/drivers/usb/host/ohci-pci.c +++ b/drivers/usb/host/ohci-pci.c | |||
@@ -73,13 +73,14 @@ ohci_pci_start (struct usb_hcd *hcd) | |||
73 | else if (pdev->vendor == PCI_VENDOR_ID_NS) { | 73 | else if (pdev->vendor == PCI_VENDOR_ID_NS) { |
74 | struct pci_dev *b; | 74 | struct pci_dev *b; |
75 | 75 | ||
76 | b = pci_find_slot (pdev->bus->number, | 76 | b = pci_get_slot (pdev->bus, |
77 | PCI_DEVFN (PCI_SLOT (pdev->devfn), 1)); | 77 | PCI_DEVFN (PCI_SLOT (pdev->devfn), 1)); |
78 | if (b && b->device == PCI_DEVICE_ID_NS_87560_LIO | 78 | if (b && b->device == PCI_DEVICE_ID_NS_87560_LIO |
79 | && b->vendor == PCI_VENDOR_ID_NS) { | 79 | && b->vendor == PCI_VENDOR_ID_NS) { |
80 | ohci->flags |= OHCI_QUIRK_SUPERIO; | 80 | ohci->flags |= OHCI_QUIRK_SUPERIO; |
81 | ohci_dbg (ohci, "Using NSC SuperIO setup\n"); | 81 | ohci_dbg (ohci, "Using NSC SuperIO setup\n"); |
82 | } | 82 | } |
83 | pci_dev_put(b); | ||
83 | } | 84 | } |
84 | 85 | ||
85 | /* Check for Compaq's ZFMicro chipset, which needs short | 86 | /* Check for Compaq's ZFMicro chipset, which needs short |