MIPS: pci-ar724x: remove static PCI IO/MEM resources
authorGabor Juhos <juhosg@openwrt.org>
Sun, 3 Feb 2013 09:59:45 +0000 (09:59 +0000)
committerJohn Crispin <blogic@openwrt.org>
Sun, 17 Feb 2013 00:25:39 +0000 (01:25 +0100)
commit34b134aebda89888b6985b7a3139e9cbdf209236
treef6dc7a06f2b74420b77bac128a237af91ce00bbb
parent908339ef25b1d5e80f1c6fab22b9958174708b4a
MIPS: pci-ar724x: remove static PCI IO/MEM resources

Static resources become impractical when multiple
PCI controllers are present. Move the resources
into the platform device registration code and
change the probe routine to get those from there
platform device's resources.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/4914/
Signed-off-by: John Crispin <blogic@openwrt.org>
arch/mips/ath79/pci.c
arch/mips/pci/pci-ar724x.c