ARM: integrator: convert PCIv3 bridge to platform device
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 2 Feb 2013 22:16:57 +0000 (23:16 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 3 Jun 2013 06:04:35 +0000 (08:04 +0200)
commit86adc39ffc9360eee43ff5913468620a3fdd7289
tree4cbfd727c8f96f5df60820473ba59a00b54e7f77
parentf4bc4f0ab4081b5bf99c92663877a41adf8c843a
ARM: integrator: convert PCIv3 bridge to platform device

This converts the PCIv3 driver to a platform device driver, and
registers the device only on the Integrator/AP instead of bailing
out in the initcall if the platform is not correct.

Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-integrator/integrator_ap.c
arch/arm/mach-integrator/pci_v3.c