a105b58 parent 659243ccaf296ae122c159d4c573f93561e1b8d6 author Gabor Juhos 1331717364 +0100 committer Ralf Baechle 1337096941 +0200 MIPS: ath79: add a common PCI registration function The current code unconditionally registers the AR724X specific PCI controller, even if the kernel is running on a different SoC. Add a common function for PCI controller registration, and only register the AR724X PCI controller if the kernel is running on an AR724X SoC. Signed-off-by: Gabor Juhos Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/3488/ Signed-off-by: Ralf Baechle V=ñ[ì