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/superio | |
| parent | 220cdd1b394109a5db9e5b402141c746095c4292 (diff) | |
Diffstat (limited to 'sys/dev/superio')
| -rw-r--r-- | sys/dev/superio/superio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/superio/superio.c b/sys/dev/superio/superio.c index be852a3db367..24d40eb7a208 100644 --- a/sys/dev/superio/superio.c +++ b/sys/dev/superio/superio.c @@ -633,7 +633,7 @@ superio_identify(driver_t *driver, device_t parent) * Those could be created via isa hints or if this * driver is loaded, unloaded and then loaded again. */ - if (device_find_child(parent, "superio", -1)) { + if (device_find_child(parent, "superio", DEVICE_UNIT_ANY)) { if (bootverbose) printf("superio: device(s) already created\n"); return; |
