Fix TPM driver compilation from r342084

Include recent ACPI_ID_PROBE API change.
This commit is contained in:
Marcin Wojtas 2018-12-14 17:43:35 +00:00
parent a2d5ed9442
commit 8a263d8fca
2 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@ tpmcrb_acpi_probe(device_t dev)
int rid = 0;
uint32_t caps;
if (ACPI_ID_PROBE(device_get_parent(dev), dev, tpmcrb_ids) == NULL)
if (ACPI_ID_PROBE(device_get_parent(dev), dev, tpmcrb_ids, NULL) == NULL)
return (ENXIO);
/* Check if device is in CRB mode */

View File

@ -104,7 +104,7 @@ tpmtis_acpi_probe(device_t dev)
int rid = 0;
uint32_t caps;
if (ACPI_ID_PROBE(device_get_parent(dev), dev, tpmtis_ids) == NULL)
if (ACPI_ID_PROBE(device_get_parent(dev), dev, tpmtis_ids, NULL) == NULL)
return (ENXIO);
/* Check if device is in TPM 2.0 TIS mode */