aboutsummaryrefslogtreecommitdiff
path: root/sys/x86/cpufreq/p4tcc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/x86/cpufreq/p4tcc.c')
-rw-r--r--sys/x86/cpufreq/p4tcc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/x86/cpufreq/p4tcc.c b/sys/x86/cpufreq/p4tcc.c
index 22e9cad25d4a..c3c35dee832b 100644
--- a/sys/x86/cpufreq/p4tcc.c
+++ b/sys/x86/cpufreq/p4tcc.c
@@ -122,7 +122,7 @@ p4tcc_identify(driver_t *driver, device_t parent)
return;
/* Make sure we're not being doubly invoked. */
- if (device_find_child(parent, "p4tcc", -1) != NULL)
+ if (device_find_child(parent, "p4tcc", DEVICE_UNIT_ANY) != NULL)
return;
/*