summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/controller/xhci_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/controller/xhci_pci.c')
-rw-r--r--sys/dev/usb/controller/xhci_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/controller/xhci_pci.c b/sys/dev/usb/controller/xhci_pci.c
index f25c88e..75b3af8 100644
--- a/sys/dev/usb/controller/xhci_pci.c
+++ b/sys/dev/usb/controller/xhci_pci.c
@@ -242,7 +242,7 @@ xhci_pci_detach(device_t self)
device_delete_child(self, bdev);
}
/* during module unload there are lots of children leftover */
- device_delete_all_children(self);
+ device_delete_children(self);
pci_disable_busmaster(self);
OpenPOWER on IntegriCloud