diff options
Diffstat (limited to 'sys/dev/acpica/acpi_perf.c')
-rw-r--r-- | sys/dev/acpica/acpi_perf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpi_perf.c b/sys/dev/acpica/acpi_perf.c index 0013d2a94552..ee7a4355f32a 100644 --- a/sys/dev/acpica/acpi_perf.c +++ b/sys/dev/acpica/acpi_perf.c @@ -142,7 +142,7 @@ acpi_perf_identify(driver_t *driver, device_t parent) device_t dev; /* Make sure we're not being doubly invoked. */ - if (device_find_child(parent, "acpi_perf", -1) != NULL) + if (device_find_child(parent, "acpi_perf", DEVICE_UNIT_ANY) != NULL) return; /* Get the handle for the Processor object and check for perf states. */ |