aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Wojtas <mw@FreeBSD.org>2018-12-14 17:43:35 +0000
committerMarcin Wojtas <mw@FreeBSD.org>2018-12-14 17:43:35 +0000
commit8a263d8fcab40dfc5cc6ddbaec61dbc9c43e47f1 (patch)
tree36c29d09611225054afa98166bb2fd205ab23033
parenta2d5ed9442bb7a030a5c5bcc3e1f6a2acc23eaf7 (diff)
downloadsrc-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.c2
-rw-r--r--sys/dev/tpm/tpm_tis.c2
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 */