diff options
author | Marcin Wojtas <mw@FreeBSD.org> | 2018-12-14 17:43:35 +0000 |
---|---|---|
committer | Marcin Wojtas <mw@FreeBSD.org> | 2018-12-14 17:43:35 +0000 |
commit | 8a263d8fcab40dfc5cc6ddbaec61dbc9c43e47f1 (patch) | |
tree | 36c29d09611225054afa98166bb2fd205ab23033 | |
parent | a2d5ed9442bb7a030a5c5bcc3e1f6a2acc23eaf7 (diff) | |
download | src-8a263d8fcab40dfc5cc6ddbaec61dbc9c43e47f1.tar.gz src-8a263d8fcab40dfc5cc6ddbaec61dbc9c43e47f1.zip |
Fix TPM driver compilation from r342084
Include recent ACPI_ID_PROBE API change.
Notes
Notes:
svn path=/head/; revision=342085
-rw-r--r-- | sys/dev/tpm/tpm_crb.c | 2 | ||||
-rw-r--r-- | sys/dev/tpm/tpm_tis.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/tpm/tpm_crb.c b/sys/dev/tpm/tpm_crb.c index a23f8fe1e958..cb6a0fdec14e 100644 --- a/sys/dev/tpm/tpm_crb.c +++ b/sys/dev/tpm/tpm_crb.c @@ -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 */ diff --git a/sys/dev/tpm/tpm_tis.c b/sys/dev/tpm/tpm_tis.c index 9677fc5b9019..c5e4cafbfc02 100644 --- a/sys/dev/tpm/tpm_tis.c +++ b/sys/dev/tpm/tpm_tis.c @@ -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 */ |