aboutsummaryrefslogtreecommitdiff
path: root/sys/mips/atheros/ar71xx_ehci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/mips/atheros/ar71xx_ehci.c')
-rw-r--r--sys/mips/atheros/ar71xx_ehci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/mips/atheros/ar71xx_ehci.c b/sys/mips/atheros/ar71xx_ehci.c
index 7d2c1cc14dea..1f24d7cc949a 100644
--- a/sys/mips/atheros/ar71xx_ehci.c
+++ b/sys/mips/atheros/ar71xx_ehci.c
@@ -244,7 +244,7 @@ ar71xx_ehci_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);
if (sc->sc_irq_res && sc->sc_intr_hdl) {
/*