aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/probe.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/probe.c')
-rw-r--r--drivers/pci/probe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
index fce2cb2112d8..2f82e63323f3 100644
--- a/drivers/pci/probe.c
+++ b/drivers/pci/probe.c
@@ -571,6 +571,7 @@ static void pci_read_irq(struct pci_dev *dev)
571 unsigned char irq; 571 unsigned char irq;
572 572
573 pci_read_config_byte(dev, PCI_INTERRUPT_PIN, &irq); 573 pci_read_config_byte(dev, PCI_INTERRUPT_PIN, &irq);
574 dev->pin = irq;
574 if (irq) 575 if (irq)
575 pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &irq); 576 pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &irq);
576 dev->irq = irq; 577 dev->irq = irq;