mirror of
https://github.com/opnsense/src.git
synced 2026-04-27 09:06:49 -04:00
acpi_hpet: Use devclass_find to find devclass in identify.
Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D34990
This commit is contained in:
parent
97c076d237
commit
33883cdce4
1 changed files with 1 additions and 1 deletions
|
|
@ -421,7 +421,7 @@ hpet_identify(driver_t *driver, device_t parent)
|
|||
int i;
|
||||
|
||||
/* Only one HPET device can be added. */
|
||||
if (devclass_get_device(hpet_devclass, 0))
|
||||
if (devclass_get_device(devclass_find("hpet"), 0))
|
||||
return;
|
||||
for (i = 1; ; i++) {
|
||||
/* Search for HPET table. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue