diff options
Diffstat (limited to 'arch/mips/pci/pci.c')
-rw-r--r-- | arch/mips/pci/pci.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/mips/pci/pci.c b/arch/mips/pci/pci.c index 4040416e0603..a1843448fad3 100644 --- a/arch/mips/pci/pci.c +++ b/arch/mips/pci/pci.c | |||
@@ -76,7 +76,7 @@ pcibios_align_resource(void *data, const struct resource *res, | |||
76 | return start; | 76 | return start; |
77 | } | 77 | } |
78 | 78 | ||
79 | static void __devinit pcibios_scanbus(struct pci_controller *hose) | 79 | static void pcibios_scanbus(struct pci_controller *hose) |
80 | { | 80 | { |
81 | static int next_busno; | 81 | static int next_busno; |
82 | static int need_domain_info; | 82 | static int need_domain_info; |
@@ -120,8 +120,7 @@ static void __devinit pcibios_scanbus(struct pci_controller *hose) | |||
120 | } | 120 | } |
121 | 121 | ||
122 | #ifdef CONFIG_OF | 122 | #ifdef CONFIG_OF |
123 | void __devinit pci_load_of_ranges(struct pci_controller *hose, | 123 | void pci_load_of_ranges(struct pci_controller *hose, struct device_node *node) |
124 | struct device_node *node) | ||
125 | { | 124 | { |
126 | const __be32 *ranges; | 125 | const __be32 *ranges; |
127 | int rlen; | 126 | int rlen; |
@@ -174,7 +173,7 @@ void __devinit pci_load_of_ranges(struct pci_controller *hose, | |||
174 | 173 | ||
175 | static DEFINE_MUTEX(pci_scan_mutex); | 174 | static DEFINE_MUTEX(pci_scan_mutex); |
176 | 175 | ||
177 | void __devinit register_pci_controller(struct pci_controller *hose) | 176 | void register_pci_controller(struct pci_controller *hose) |
178 | { | 177 | { |
179 | if (request_resource(&iomem_resource, hose->mem_resource) < 0) | 178 | if (request_resource(&iomem_resource, hose->mem_resource) < 0) |
180 | goto out; | 179 | goto out; |
@@ -303,7 +302,7 @@ int pcibios_enable_device(struct pci_dev *dev, int mask) | |||
303 | return pcibios_plat_dev_init(dev); | 302 | return pcibios_plat_dev_init(dev); |
304 | } | 303 | } |
305 | 304 | ||
306 | void __devinit pcibios_fixup_bus(struct pci_bus *bus) | 305 | void pcibios_fixup_bus(struct pci_bus *bus) |
307 | { | 306 | { |
308 | struct pci_dev *dev = bus->self; | 307 | struct pci_dev *dev = bus->self; |
309 | 308 | ||