projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b22cf3
)
PCI: make acpihp use __pci_remove_bus_device instead
author
Yinghai Lu
<yinghai@kernel.org>
Sat, 25 Feb 2012 21:54:23 +0000
(13:54 -0800)
committer
Jesse Barnes
<jbarnes@virtuousgeek.org>
Mon, 27 Feb 2012 20:17:16 +0000
(12:17 -0800)
pci_stop_bus_device gets called before in the same loop.
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/hotplug/acpiphp_glue.c
patch
|
blob
|
history
diff --git
a/drivers/pci/hotplug/acpiphp_glue.c
b/drivers/pci/hotplug/acpiphp_glue.c
index
fdc34b5
..
806c44f
100644
(file)
--- a/
drivers/pci/hotplug/acpiphp_glue.c
+++ b/
drivers/pci/hotplug/acpiphp_glue.c
@@
-910,7
+910,7
@@
static int disable_device(struct acpiphp_slot *slot)
disable_bridges(pdev->subordinate);
pci_disable_device(pdev);
}
-
pci_stop_and
_remove_bus_device(pdev);
+
__pci
_remove_bus_device(pdev);
pci_dev_put(pdev);
}
}