MIPS: PCI: Split pci.c into pci.c & pci-legacy.c
authorPaul Burton <paul.burton@imgtec.com>
Wed, 5 Oct 2016 17:18:11 +0000 (18:18 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 6 Oct 2016 15:59:57 +0000 (17:59 +0200)
commitf8091a88978b68df8ee6095eed0de2177eac3c69
tree50af18aa378df694b1676d3879ee023eaa60d26f
parentab96b03144c5392b8c0c427cc37df34daa84c5d0
MIPS: PCI: Split pci.c into pci.c & pci-legacy.c

Split out the parts of pci.c that are used by existing systems with
MIPS-style PCI drivers but that will not be used by systems with more
generic PCI drivers such as pcie-xilinx. This is done in preparation for
allowing configurations where the code moved to pci-legacy.c is not
built.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: Paul Burton <paul.burton@imgtec.com>
Patchwork: https://patchwork.linux-mips.org/patch/14344/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/pci/Makefile
arch/mips/pci/pci-legacy.c [new file with mode: 0644]
arch/mips/pci/pci.c