From: Gabor Juhos Date: Wed, 14 Mar 2012 09:29:21 +0000 (+0100) Subject: MIPS: ath79: separate common PCI code X-Git-Tag: v3.5-rc1~47^2^5~31 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2dbdc436b46250c8682ea57151a7afb45f271e1;p=pandora-kernel.git MIPS: ath79: separate common PCI code The 'pcibios_map_irq' and 'pcibios_plat_dev_init' are common functions and only instance one of them can be present in a single kernel. Currently these functions can be built only if the CONFIG_SOC_AR724X option is selected. However the ath79 platform contain support for the AR71XX SoCs,. The AR71XX SoCs have a differnet PCI controller, and those will require a different code. Move the common PCI code into a separeate file in order to be able to use that with other SoCs as well. Signed-off-by: Gabor Juhos Acked-by: René Bolldorf Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/3485/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed