aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2010-08-16 10:31:53 +0200
committerGrant Likely <grant.likely@secretlab.ca>2010-08-16 14:55:46 -0600
commita8dcb878b628203f917c50b0268bba7fd146d9c0 (patch)
tree848d0f0f3d66947ecdb320ab53fba40dfd1a7064 /arch
parentb9e0ba8114583b0462cfb18b4ca01fc82894c5c0 (diff)
microblaze: Fix of/address: Merge all of the bus translation code
Commit dbbdee94734bf6f1db7af42008a53655e77cab8f removed of_irq_pci_swizzle but didn't use pci_swizzle_interrupt_pin instead. Signed-off-by: Michal Simek <monstr@monstr.eu> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch')
-rw-r--r--arch/microblaze/kernel/prom_parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/kernel/prom_parse.c b/arch/microblaze/kernel/prom_parse.c
index d33ba17601f..99d9b61cccb 100644
--- a/arch/microblaze/kernel/prom_parse.c
+++ b/arch/microblaze/kernel/prom_parse.c
@@ -73,7 +73,7 @@ int of_irq_map_pci(struct pci_dev *pdev, struct of_irq *out_irq)
/* We can only get here if we hit a P2P bridge with no node,
* let's do standard swizzling and try again
*/
- lspec = of_irq_pci_swizzle(PCI_SLOT(pdev->devfn), lspec);
+ lspec = pci_swizzle_interrupt_pin(pdev, lspec);
pdev = ppdev;
}