summaryrefslogtreecommitdiff
path: root/target/linux/ramips/files/arch/mips/pci
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-02-16 08:17:52 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-02-16 08:17:52 +0000
commitd81767c11909492ee8adab787b48207b347bc6f0 (patch)
tree2276b58f8fa7d57cb6007026ca5c4ef53eca051c /target/linux/ramips/files/arch/mips/pci
parent013dc5a5d6de309344092bc4dd85f53d5c704078 (diff)
ramips: rt288x: don't register the PCI controller on each board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30574 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/files/arch/mips/pci')
-rw-r--r--target/linux/ramips/files/arch/mips/pci/pci-rt288x.c4
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);