s390/pci: remove pdev during unplug
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Wed, 5 Jun 2013 14:07:28 +0000 (16:07 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 26 Jun 2013 19:10:08 +0000 (21:10 +0200)
commit8b2a7e609bfcb26ed3639da9eda3fea42c009b65
tree3ba9126746a67626411d1581b2b2fac43127832a
parent4bee2a5dce45096851cb8694d962bf8c016816a8
s390/pci: remove pdev during unplug

The disable slot implementation on s390 currently just detaches the
pci function from the partition - without informing the pci layer.
Fix this by calling pci_stop_and_remove_bus_device prior to the
operation.

Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/pci/pci_clp.c
drivers/pci/hotplug/s390_pci_hpc.c