Fix TPM driver compilation from r342084
Include recent ACPI_ID_PROBE API change.
This commit is contained in:
parent
a2d5ed9442
commit
8a263d8fca
@ -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 New Issue
Block a user