diff options
| author | Cy Schubert <cy@FreeBSD.org> | 2021-12-02 22:45:04 +0000 |
|---|---|---|
| committer | Cy Schubert <cy@FreeBSD.org> | 2021-12-02 22:45:04 +0000 |
| commit | db0ac6ded61105caab4700aeac255328d4238dc4 (patch) | |
| tree | 1ecb794fd4e9d2076de2fdd040b4fe0335f2b89e /sys/dev/amdtemp | |
| parent | 266f97b5e9a7958e365e78288616a459b40d924a (diff) | |
Diffstat (limited to 'sys/dev/amdtemp')
| -rw-r--r-- | sys/dev/amdtemp/amdtemp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/amdtemp/amdtemp.c b/sys/dev/amdtemp/amdtemp.c index c1d696d070a5..21227a47c513 100644 --- a/sys/dev/amdtemp/amdtemp.c +++ b/sys/dev/amdtemp/amdtemp.c @@ -263,8 +263,7 @@ amdtemp_identify(driver_t *driver, device_t parent) return; if (amdtemp_match(parent, NULL)) { - child = device_add_child(parent, "amdtemp", - device_get_unit(parent)); + child = device_add_child(parent, "amdtemp", -1); if (child == NULL) device_printf(parent, "add amdtemp child failed\n"); } |
