diff options
| author | Warner Losh <imp@FreeBSD.org> | 2024-07-25 04:22:58 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2024-07-25 04:22:58 +0000 |
| commit | 5b56413d04e608379c9a306373554a8e4d321bc0 (patch) | |
| tree | c9151d7d1f89e0d4d84120695ab396078fef3ad5 /sys/dev/adb | |
| parent | 29d13f3d06dec06a2fc9636ca8308c0462f80cfc (diff) | |
Diffstat (limited to 'sys/dev/adb')
| -rw-r--r-- | sys/dev/adb/adb_bus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/adb/adb_bus.c b/sys/dev/adb/adb_bus.c index 395ed555fec5..8c805254a2e6 100644 --- a/sys/dev/adb/adb_bus.c +++ b/sys/dev/adb/adb_bus.c @@ -178,7 +178,7 @@ adb_bus_enumerate(void *xdev) for (i = 0; i < 16; i++) { if (sc->devinfo[i].default_address) { - sc->children[i] = device_add_child(dev, NULL, -1); + sc->children[i] = device_add_child(dev, NULL, DEVICE_UNIT_ANY); device_set_ivars(sc->children[i], &sc->devinfo[i]); } } |
