diff options
Diffstat (limited to 'arch/arm/mach-ixp2000/ixdp2x00.c')
-rw-r--r-- | arch/arm/mach-ixp2000/ixdp2x00.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-ixp2000/ixdp2x00.c b/arch/arm/mach-ixp2000/ixdp2x00.c index 634b6c852f6..dd983829906 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 | ||