aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mmc/host
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2025-01-02 18:24:28 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2025-01-02 18:24:28 +0000
commit3ddaf8200bc90b1410755ebac7b5c979ea90a2f6 (patch)
tree6991e24d4ee73db1084a04ccf55098123c293422 /sys/dev/mmc/host
parent20f932af2973afc7624ac40a843b85b48a3947c7 (diff)
Diffstat (limited to 'sys/dev/mmc/host')
-rw-r--r--sys/dev/mmc/host/dwmmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mmc/host/dwmmc.c b/sys/dev/mmc/host/dwmmc.c
index f39a2033f64c..51709bcbb7e9 100644
--- a/sys/dev/mmc/host/dwmmc.c
+++ b/sys/dev/mmc/host/dwmmc.c
@@ -778,7 +778,7 @@ dwmmc_detach(device_t dev)
sc = device_get_softc(dev);
- ret = device_delete_children(dev);
+ ret = bus_generic_detach(dev);
if (ret != 0)
return (ret);