diff options
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/pci/fixup-lantiq.c | 2 | ||||
-rw-r--r-- | arch/mips/pci/pci-rt3883.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/pci/fixup-lantiq.c b/arch/mips/pci/fixup-lantiq.c index 6c829df28dc7..2e8dbfedae53 100644 --- a/arch/mips/pci/fixup-lantiq.c +++ b/arch/mips/pci/fixup-lantiq.c | |||
@@ -28,7 +28,7 @@ int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) | |||
28 | struct of_irq dev_irq; | 28 | struct of_irq dev_irq; |
29 | int irq; | 29 | int irq; |
30 | 30 | ||
31 | if (of_irq_map_pci(dev, &dev_irq)) { | 31 | if (of_irq_parse_pci(dev, &dev_irq)) { |
32 | dev_err(&dev->dev, "trying to map irq for unknown slot:%d pin:%d\n", | 32 | dev_err(&dev->dev, "trying to map irq for unknown slot:%d pin:%d\n", |
33 | slot, pin); | 33 | slot, pin); |
34 | return 0; | 34 | return 0; |
diff --git a/arch/mips/pci/pci-rt3883.c b/arch/mips/pci/pci-rt3883.c index 95c9d41382e7..cae92a05ee70 100644 --- a/arch/mips/pci/pci-rt3883.c +++ b/arch/mips/pci/pci-rt3883.c | |||
@@ -587,7 +587,7 @@ int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) | |||
587 | int err; | 587 | int err; |
588 | int irq; | 588 | int irq; |
589 | 589 | ||
590 | err = of_irq_map_pci(dev, &dev_irq); | 590 | err = of_irq_parse_pci(dev, &dev_irq); |
591 | if (err) { | 591 | if (err) { |
592 | pr_err("pci %s: unable to get irq map, err=%d\n", | 592 | pr_err("pci %s: unable to get irq map, err=%d\n", |
593 | pci_name((struct pci_dev *) dev), err); | 593 | pci_name((struct pci_dev *) dev), err); |