projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'rwonce/rework' of git://git.kernel.org/pub/scm/linux/kernel/git/will...
[platform/kernel/linux-starfive.git]
/
drivers
/
pci
/
remove.c
diff --git
a/drivers/pci/remove.c
b/drivers/pci/remove.c
index
e9c6b12
..
95dec03
100644
(file)
--- a/
drivers/pci/remove.c
+++ b/
drivers/pci/remove.c
@@
-160,6
+160,6
@@
void pci_remove_root_bus(struct pci_bus *bus)
host_bridge->bus = NULL;
/* remove the host bridge */
- device_
unregister
(&host_bridge->dev);
+ device_
del
(&host_bridge->dev);
}
EXPORT_SYMBOL_GPL(pci_remove_root_bus);