diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2008-12-10 00:12:07 +0100 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-01-07 20:12:53 +0100 |
commit | 1be9baa09340bbe3329aab3bd0d41076f59c8f22 (patch) | |
tree | 5a2aed70b85e6149b2ec53085513a2f9cfc4eb86 /arch/alpha/kernel/sys_miata.c | |
parent | PCI: powerpc: use generic pci_swizzle_interrupt_pin() (diff) | |
download | linux-1be9baa09340bbe3329aab3bd0d41076f59c8f22.tar.xz linux-1be9baa09340bbe3329aab3bd0d41076f59c8f22.zip |
PCI: alpha: use generic pci_swizzle_interrupt_pin()
Use the generic pci_swizzle_interrupt_pin() instead of arch-specific code.
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'arch/alpha/kernel/sys_miata.c')
-rw-r--r-- | arch/alpha/kernel/sys_miata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/kernel/sys_miata.c b/arch/alpha/kernel/sys_miata.c index 910b43cd63e8..61ccd95579ec 100644 --- a/arch/alpha/kernel/sys_miata.c +++ b/arch/alpha/kernel/sys_miata.c @@ -219,7 +219,7 @@ miata_swizzle(struct pci_dev *dev, u8 *pinp) slot = PCI_SLOT(dev->devfn) + 9; break; } - pin = bridge_swizzle(pin, PCI_SLOT(dev->devfn)); + pin = pci_swizzle_interrupt_pin(dev, pin); /* Move up the chain of bridges. */ dev = dev->bus->self; |