aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/hyperv
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/hyperv
parent20f932af2973afc7624ac40a843b85b48a3947c7 (diff)
Diffstat (limited to 'sys/dev/hyperv')
-rw-r--r--sys/dev/hyperv/input/hv_hid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/hyperv/input/hv_hid.c b/sys/dev/hyperv/input/hv_hid.c
index c54bc43c0f24..a26c46184442 100644
--- a/sys/dev/hyperv/input/hv_hid.c
+++ b/sys/dev/hyperv/input/hv_hid.c
@@ -457,7 +457,7 @@ hv_hid_detach(device_t dev)
int ret;
sc = device_get_softc(dev);
- ret = device_delete_children(dev);
+ ret = bus_generic_detach(dev);
if (ret != 0)
return (ret);
if (sc->hs_xact_ctx != NULL)