diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-02-16 08:17:52 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-02-16 08:17:52 +0000 |
commit | b4af07d5c069334e21bb9d39f355383c5ff692ed (patch) | |
tree | da264c1df7696f6633b7c076915f419da3178f87 /target/linux/ramips/files/arch/mips/pci | |
parent | f8a56dc8dfc95c04257bfe6a5308f72c99d73aa8 (diff) | |
download | upstream-b4af07d5c069334e21bb9d39f355383c5ff692ed.tar.gz upstream-b4af07d5c069334e21bb9d39f355383c5ff692ed.tar.bz2 upstream-b4af07d5c069334e21bb9d39f355383c5ff692ed.zip |
ramips: rt288x: don't register the PCI controller on each board
SVN-Revision: 30574
Diffstat (limited to 'target/linux/ramips/files/arch/mips/pci')
-rw-r--r-- | target/linux/ramips/files/arch/mips/pci/pci-rt288x.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/target/linux/ramips/files/arch/mips/pci/pci-rt288x.c b/target/linux/ramips/files/arch/mips/pci/pci-rt288x.c index 16f3bf7717..f67902272c 100644 --- a/target/linux/ramips/files/arch/mips/pci/pci-rt288x.c +++ b/target/linux/ramips/files/arch/mips/pci/pci-rt288x.c @@ -210,7 +210,7 @@ int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) return irq; } -static int __init rt2880_pci_init(void) +int __init rt288x_register_pci(void) { void __iomem *io_map_base; int i; @@ -248,5 +248,3 @@ int pcibios_plat_dev_init(struct pci_dev *dev) { return 0; } - -arch_initcall(rt2880_pci_init); |