diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-ixp2000/ixdp2400.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-ixp2000/ixdp2800.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-ixp2000/ixdp2x00.c | 4 | ||||
-rw-r--r-- | arch/powerpc/platforms/pseries/pci_dlpar.c | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/arch/arm/mach-ixp2000/ixdp2400.c b/arch/arm/mach-ixp2000/ixdp2400.c index f53e911ec94a..d519944653ad 100644 --- a/arch/arm/mach-ixp2000/ixdp2400.c +++ b/arch/arm/mach-ixp2000/ixdp2400.c | |||
@@ -134,11 +134,11 @@ static void ixdp2400_pci_postinit(void) | |||
134 | 134 | ||
135 | if (ixdp2x00_master_npu()) { | 135 | if (ixdp2x00_master_npu()) { |
136 | dev = pci_get_bus_and_slot(1, IXDP2400_SLAVE_ENET_DEVFN); | 136 | dev = pci_get_bus_and_slot(1, IXDP2400_SLAVE_ENET_DEVFN); |
137 | pci_remove_bus_device(dev); | 137 | pci_stop_and_remove_bus_device(dev); |
138 | pci_dev_put(dev); | 138 | pci_dev_put(dev); |
139 | } else { | 139 | } else { |
140 | dev = pci_get_bus_and_slot(1, IXDP2400_MASTER_ENET_DEVFN); | 140 | dev = pci_get_bus_and_slot(1, IXDP2400_MASTER_ENET_DEVFN); |
141 | pci_remove_bus_device(dev); | 141 | pci_stop_and_remove_bus_device(dev); |
142 | pci_dev_put(dev); | 142 | pci_dev_put(dev); |
143 | 143 | ||
144 | ixdp2x00_slave_pci_postinit(); | 144 | ixdp2x00_slave_pci_postinit(); |
diff --git a/arch/arm/mach-ixp2000/ixdp2800.c b/arch/arm/mach-ixp2000/ixdp2800.c index a2e7c393e74f..b415febd2025 100644 --- a/arch/arm/mach-ixp2000/ixdp2800.c +++ b/arch/arm/mach-ixp2000/ixdp2800.c | |||
@@ -262,14 +262,14 @@ int __init ixdp2800_pci_init(void) | |||
262 | pci_common_init(&ixdp2800_pci); | 262 | pci_common_init(&ixdp2800_pci); |
263 | if (ixdp2x00_master_npu()) { | 263 | if (ixdp2x00_master_npu()) { |
264 | dev = pci_get_bus_and_slot(1, IXDP2800_SLAVE_ENET_DEVFN); | 264 | dev = pci_get_bus_and_slot(1, IXDP2800_SLAVE_ENET_DEVFN); |
265 | pci_remove_bus_device(dev); | 265 | pci_stop_and_remove_bus_device(dev); |
266 | pci_dev_put(dev); | 266 | pci_dev_put(dev); |
267 | 267 | ||
268 | ixdp2800_master_enable_slave(); | 268 | ixdp2800_master_enable_slave(); |
269 | ixdp2800_master_wait_for_slave_bus_scan(); | 269 | ixdp2800_master_wait_for_slave_bus_scan(); |
270 | } else { | 270 | } else { |
271 | dev = pci_get_bus_and_slot(1, IXDP2800_MASTER_ENET_DEVFN); | 271 | dev = pci_get_bus_and_slot(1, IXDP2800_MASTER_ENET_DEVFN); |
272 | pci_remove_bus_device(dev); | 272 | pci_stop_and_remove_bus_device(dev); |
273 | pci_dev_put(dev); | 273 | pci_dev_put(dev); |
274 | } | 274 | } |
275 | } | 275 | } |
diff --git a/arch/arm/mach-ixp2000/ixdp2x00.c b/arch/arm/mach-ixp2000/ixdp2x00.c index 634b6c852f68..dd9838299068 100644 --- a/arch/arm/mach-ixp2000/ixdp2x00.c +++ b/arch/arm/mach-ixp2000/ixdp2x00.c | |||
@@ -239,12 +239,12 @@ void ixdp2x00_slave_pci_postinit(void) | |||
239 | * Remove PMC device is there is one | 239 | * Remove PMC device is there is one |
240 | */ | 240 | */ |
241 | if((dev = pci_get_bus_and_slot(1, IXDP2X00_PMC_DEVFN))) { | 241 | if((dev = pci_get_bus_and_slot(1, IXDP2X00_PMC_DEVFN))) { |
242 | pci_remove_bus_device(dev); | 242 | pci_stop_and_remove_bus_device(dev); |
243 | pci_dev_put(dev); | 243 | pci_dev_put(dev); |
244 | } | 244 | } |
245 | 245 | ||
246 | dev = pci_get_bus_and_slot(0, IXDP2X00_21555_DEVFN); | 246 | dev = pci_get_bus_and_slot(0, IXDP2X00_21555_DEVFN); |
247 | pci_remove_bus_device(dev); | 247 | pci_stop_and_remove_bus_device(dev); |
248 | pci_dev_put(dev); | 248 | pci_dev_put(dev); |
249 | } | 249 | } |
250 | 250 | ||
diff --git a/arch/powerpc/platforms/pseries/pci_dlpar.c b/arch/powerpc/platforms/pseries/pci_dlpar.c index 55d4ec1bd1ac..200a1ca2528e 100644 --- a/arch/powerpc/platforms/pseries/pci_dlpar.c +++ b/arch/powerpc/platforms/pseries/pci_dlpar.c | |||
@@ -84,7 +84,7 @@ void pcibios_remove_pci_devices(struct pci_bus *bus) | |||
84 | list_for_each_entry_safe(dev, tmp, &bus->devices, bus_list) { | 84 | list_for_each_entry_safe(dev, tmp, &bus->devices, bus_list) { |
85 | pr_debug(" * Removing %s...\n", pci_name(dev)); | 85 | pr_debug(" * Removing %s...\n", pci_name(dev)); |
86 | eeh_remove_bus_device(dev); | 86 | eeh_remove_bus_device(dev); |
87 | pci_remove_bus_device(dev); | 87 | pci_stop_and_remove_bus_device(dev); |
88 | } | 88 | } |
89 | } | 89 | } |
90 | EXPORT_SYMBOL_GPL(pcibios_remove_pci_devices); | 90 | EXPORT_SYMBOL_GPL(pcibios_remove_pci_devices); |