diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2017-11-06 19:39:14 +0100 |
---|---|---|
committer | Stefan Berger <stefanb@linux.vnet.ibm.com> | 2017-12-14 23:39:14 -0500 |
commit | d36e7db1fbf1a5cff4aa359dfe5c2e5dd97d3e13 (patch) | |
tree | 53398ac0d8c905ff9585a9049733d9b05e8a658e /hw/tpm | |
parent | 023299d87f7b6cccaede8210755afd0c2eaec41a (diff) | |
download | qemu-d36e7db1fbf1a5cff4aa359dfe5c2e5dd97d3e13.zip qemu-d36e7db1fbf1a5cff4aa359dfe5c2e5dd97d3e13.tar.gz qemu-d36e7db1fbf1a5cff4aa359dfe5c2e5dd97d3e13.tar.bz2 |
tpm: rename qemu_find_tpm() -> qemu_find_tpm_be()
find_tpm() will be introduced to lookup the TPM device.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Diffstat (limited to 'hw/tpm')
-rw-r--r-- | hw/tpm/tpm_tis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/tpm/tpm_tis.c b/hw/tpm/tpm_tis.c index 81b23b7..fd1511b 100644 --- a/hw/tpm/tpm_tis.c +++ b/hw/tpm/tpm_tis.c @@ -1060,7 +1060,7 @@ static void tpm_tis_realizefn(DeviceState *dev, Error **errp) { TPMState *s = TPM(dev); - s->be_driver = qemu_find_tpm(s->backend); + s->be_driver = qemu_find_tpm_be(s->backend); if (!s->be_driver) { error_setg(errp, "tpm_tis: backend driver with id %s could not be " "found", s->backend); |