diff options
| author | Ahmad Khalifa <vexeduxr@FreeBSD.org> | 2025-06-11 00:25:08 +0000 |
|---|---|---|
| committer | Ahmad Khalifa <vexeduxr@FreeBSD.org> | 2025-06-21 02:57:45 +0000 |
| commit | b670c9bafc0e31c7609969bf374b2e80bdc00211 (patch) | |
| tree | a43fdc9e5b58d1ab4cddbf535c3855d7a32de4dc /sys/dev/hyperv/input | |
| parent | 220cdd1b394109a5db9e5b402141c746095c4292 (diff) | |
Diffstat (limited to 'sys/dev/hyperv/input')
| -rw-r--r-- | sys/dev/hyperv/input/hv_hid.c | 2 |
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 a26c46184442..ec68581d63a8 100644 --- a/sys/dev/hyperv/input/hv_hid.c +++ b/sys/dev/hyperv/input/hv_hid.c @@ -436,7 +436,7 @@ hv_hid_attach(device_t dev) ret = ENODEV; goto out; } - child = device_add_child(sc->dev, "hidbus", -1); + child = device_add_child(sc->dev, "hidbus", DEVICE_UNIT_ANY); if (child == NULL) { device_printf(sc->dev, "failed to add hidbus\n"); ret = ENOMEM; |
