From: Michal Simek Date: Mon, 16 Aug 2010 08:31:53 +0000 (+0200) Subject: microblaze: Fix of/address: Merge all of the bus translation code X-Git-Tag: v3.0~3567^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a8dcb878b628203f917c50b0268bba7fd146d9c0;p=platform%2Fkernel%2Flinux-amlogic.git 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 Signed-off-by: Grant Likely --- diff --git a/arch/microblaze/kernel/prom_parse.c b/arch/microblaze/kernel/prom_parse.c index d33ba17..99d9b61 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; }