diff options
Diffstat (limited to 'arch/powerpc/kernel/pci_64.c')
| -rw-r--r-- | arch/powerpc/kernel/pci_64.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/arch/powerpc/kernel/pci_64.c b/arch/powerpc/kernel/pci_64.c index 4ff190ff24a0..51a133a78a09 100644 --- a/arch/powerpc/kernel/pci_64.c +++ b/arch/powerpc/kernel/pci_64.c | |||
| @@ -74,8 +74,6 @@ static int __init pcibios_init(void) | |||
| 74 | 74 | ||
| 75 | subsys_initcall(pcibios_init); | 75 | subsys_initcall(pcibios_init); |
| 76 | 76 | ||
| 77 | #ifdef CONFIG_HOTPLUG | ||
| 78 | |||
| 79 | int pcibios_unmap_io_space(struct pci_bus *bus) | 77 | int pcibios_unmap_io_space(struct pci_bus *bus) |
| 80 | { | 78 | { |
| 81 | struct pci_controller *hose; | 79 | struct pci_controller *hose; |
| @@ -124,9 +122,7 @@ int pcibios_unmap_io_space(struct pci_bus *bus) | |||
| 124 | } | 122 | } |
| 125 | EXPORT_SYMBOL_GPL(pcibios_unmap_io_space); | 123 | EXPORT_SYMBOL_GPL(pcibios_unmap_io_space); |
| 126 | 124 | ||
| 127 | #endif /* CONFIG_HOTPLUG */ | 125 | static int pcibios_map_phb_io_space(struct pci_controller *hose) |
| 128 | |||
| 129 | static int __devinit pcibios_map_phb_io_space(struct pci_controller *hose) | ||
| 130 | { | 126 | { |
| 131 | struct vm_struct *area; | 127 | struct vm_struct *area; |
| 132 | unsigned long phys_page; | 128 | unsigned long phys_page; |
| @@ -177,7 +173,7 @@ static int __devinit pcibios_map_phb_io_space(struct pci_controller *hose) | |||
| 177 | return 0; | 173 | return 0; |
| 178 | } | 174 | } |
| 179 | 175 | ||
| 180 | int __devinit pcibios_map_io_space(struct pci_bus *bus) | 176 | int pcibios_map_io_space(struct pci_bus *bus) |
| 181 | { | 177 | { |
| 182 | WARN_ON(bus == NULL); | 178 | WARN_ON(bus == NULL); |
| 183 | 179 | ||
| @@ -197,7 +193,7 @@ int __devinit pcibios_map_io_space(struct pci_bus *bus) | |||
| 197 | } | 193 | } |
| 198 | EXPORT_SYMBOL_GPL(pcibios_map_io_space); | 194 | EXPORT_SYMBOL_GPL(pcibios_map_io_space); |
| 199 | 195 | ||
| 200 | void __devinit pcibios_setup_phb_io_space(struct pci_controller *hose) | 196 | void pcibios_setup_phb_io_space(struct pci_controller *hose) |
| 201 | { | 197 | { |
| 202 | pcibios_map_phb_io_space(hose); | 198 | pcibios_map_phb_io_space(hose); |
| 203 | } | 199 | } |
