From: Gabor Juhos Date: Wed, 14 Mar 2012 09:29:24 +0000 (+0100) Subject: MIPS: ath79: add a common PCI registration function X-Git-Tag: v3.5-rc1~47^2^5~28 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6335aef59c55f50e6d8017a28c0ee985b533ea29;p=pandora-kernel.git 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 --- Reading git-diff-tree failed