powerpc/pci: Merge ppc32 and ppc64 versions of phb_scan()
authorGrant Likely <grant.likely@secretlab.ca>
Fri, 28 Aug 2009 08:58:16 +0000 (08:58 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 2 Sep 2009 05:45:53 +0000 (15:45 +1000)
commit0ed2c722c650513ba4bce868c7a052e576c060e2
tree6b679585a9c2afa871f81dc9da90af9b79c49c02
parentc5b20d3926dfc9616265b8ff5967cb7a476f9344
powerpc/pci: Merge ppc32 and ppc64 versions of phb_scan()

The two versions are doing almost exactly the same thing.  No need to
maintain them as separate files.  This patch also has the side effect
of making the PCI device tree scanning code available to 32 bit powerpc
machines, but no board ports actually make use of this feature at this
point.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/pci.h
arch/powerpc/include/asm/ppc-pci.h
arch/powerpc/kernel/of_platform.c
arch/powerpc/kernel/pci-common.c
arch/powerpc/kernel/pci_32.c
arch/powerpc/kernel/pci_64.c
arch/powerpc/platforms/pseries/pci_dlpar.c