aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/pci/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/pci/pci.c')
-rw-r--r--arch/mips/pci/pci.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/mips/pci/pci.c b/arch/mips/pci/pci.c
index 99d8f4fd3ff4..6c5c684d1422 100644
--- a/arch/mips/pci/pci.c
+++ b/arch/mips/pci/pci.c
@@ -75,7 +75,7 @@ pcibios_align_resource(void *data, struct resource *res,
75 res->start = start; 75 res->start = start;
76} 76}
77 77
78void __init register_pci_controller(struct pci_controller *hose) 78void __devinit register_pci_controller(struct pci_controller *hose)
79{ 79{
80 if (request_resource(&iomem_resource, hose->mem_resource) < 0) 80 if (request_resource(&iomem_resource, hose->mem_resource) < 0)
81 goto out; 81 goto out;
@@ -230,7 +230,7 @@ int pcibios_enable_device(struct pci_dev *dev, int mask)
230 return pcibios_plat_dev_init(dev); 230 return pcibios_plat_dev_init(dev);
231} 231}
232 232
233static void __devinit pcibios_fixup_device_resources(struct pci_dev *dev, 233static void pcibios_fixup_device_resources(struct pci_dev *dev,
234 struct pci_bus *bus) 234 struct pci_bus *bus)
235{ 235{
236 /* Update device resources. */ 236 /* Update device resources. */
@@ -251,7 +251,7 @@ static void __devinit pcibios_fixup_device_resources(struct pci_dev *dev,
251 } 251 }
252} 252}
253 253
254void __devinit pcibios_fixup_bus(struct pci_bus *bus) 254void pcibios_fixup_bus(struct pci_bus *bus)
255{ 255{
256 /* Propagate hose info into the subordinate devices. */ 256 /* Propagate hose info into the subordinate devices. */
257 257
@@ -282,8 +282,7 @@ pcibios_update_irq(struct pci_dev *dev, int irq)
282 pci_write_config_byte(dev, PCI_INTERRUPT_LINE, irq); 282 pci_write_config_byte(dev, PCI_INTERRUPT_LINE, irq);
283} 283}
284 284
285void __devinit 285void pcibios_resource_to_bus(struct pci_dev *dev, struct pci_bus_region *region,
286pcibios_resource_to_bus(struct pci_dev *dev, struct pci_bus_region *region,
287 struct resource *res) 286 struct resource *res)
288{ 287{
289 struct pci_controller *hose = (struct pci_controller *)dev->sysdata; 288 struct pci_controller *hose = (struct pci_controller *)dev->sysdata;