mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Fix TPM driver compilation from r342084
Include recent ACPI_ID_PROBE API change.
This commit is contained in:
parent
a2d5ed9442
commit
8a263d8fca
2 changed files with 2 additions and 2 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue