acpi_apei: Use devclass_find to find devclass in identify.
Reviewed by: mav Differential Revision: https://reviews.freebsd.org/D34987
This commit is contained in:
@@ -599,7 +599,7 @@ apei_identify(driver_t *driver, device_t parent)
|
||||
AcpiPutTable(hest);
|
||||
|
||||
/* Only one APEI device can exist. */
|
||||
if (devclass_get_device(apei_devclass, 0))
|
||||
if (devclass_get_device(devclass_find("apei"), 0))
|
||||
return;
|
||||
|
||||
/* Search for ACPI error device to be used. */
|
||||
|
||||
Reference in New Issue
Block a user