summaryrefslogtreecommitdiffstats
path: root/sys/mips/atheros/ar71xx_ohci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/mips/atheros/ar71xx_ohci.c')
-rw-r--r--sys/mips/atheros/ar71xx_ohci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/mips/atheros/ar71xx_ohci.c b/sys/mips/atheros/ar71xx_ohci.c
index 4ccd8c2..9e0a63f 100644
--- a/sys/mips/atheros/ar71xx_ohci.c
+++ b/sys/mips/atheros/ar71xx_ohci.c
@@ -150,7 +150,7 @@ ar71xx_ohci_detach(device_t dev)
device_delete_child(dev, bdev);
}
/* during module unload there are lots of children leftover */
- device_delete_all_children(dev);
+ device_delete_children(dev);
/*
* Put the controller into reset, then disable clocks and do
OpenPOWER on IntegriCloud