diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pci/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 8e287a828d5d..81b9b8d9bceb 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c | |||
@@ -587,7 +587,7 @@ pci_get_interrupt_pin(struct pci_dev *dev, struct pci_dev **bridge) | |||
587 | { | 587 | { |
588 | u8 pin; | 588 | u8 pin; |
589 | 589 | ||
590 | pci_read_config_byte(dev, PCI_INTERRUPT_PIN, &pin); | 590 | pin = dev->pin; |
591 | if (!pin) | 591 | if (!pin) |
592 | return -1; | 592 | return -1; |
593 | pin--; | 593 | pin--; |