ARM: PCI: integrator: use common PCI swizzle
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 10 Mar 2012 11:30:46 +0000 (11:30 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 13 May 2012 16:11:56 +0000 (17:11 +0100)
commitb28626da344ea3d9f9c518a6c082db9306f534ff
tree12c6ae8fbb146b7cb0b20e8f0f19be90ca1cbb3e
parent66e9279a013c4991b95de20fbe670e27aeb49524
ARM: PCI: integrator: use common PCI swizzle

The Integrator swizzle function is almost the same as the standard PCI
swizzle, except for an initial check for pin = 0.  Make the integrator
swizzle function a wrapper around the standard PCI swizzle function so
we preseve this behaviour while using common code.

[fix to use pci_std_swizzle from Linus Walleij]

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-integrator/pci.c