diff options
author | Marc-André Lureau | 2017-11-06 19:39:09 +0100 |
---|---|---|
committer | Stefan Berger | 2017-12-15 05:39:14 +0100 |
commit | 9f7c0ef2ffa02b3bf6bc630496b8df67c750edd3 (patch) | |
tree | 4f0e33016f740c60277132c4cb73e31b8970a2aa /include | |
parent | tpm-passthrough: pass TPMPassthruState to handle_device_opts (diff) | |
download | qemu-9f7c0ef2ffa02b3bf6bc630496b8df67c750edd3.tar.gz qemu-9f7c0ef2ffa02b3bf6bc630496b8df67c750edd3.tar.xz qemu-9f7c0ef2ffa02b3bf6bc630496b8df67c750edd3.zip |
tpm-backend: move set 'id' to common code
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 'include')
-rw-r--r-- | include/sysemu/tpm_backend.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sysemu/tpm_backend.h b/include/sysemu/tpm_backend.h index ce8dee58cf..1ad27ec374 100644 --- a/include/sysemu/tpm_backend.h +++ b/include/sysemu/tpm_backend.h @@ -63,7 +63,7 @@ struct TPMBackendClass { /* get a descriptive text of the backend to display to the user */ const char *desc; - TPMBackend *(*create)(QemuOpts *opts, const char *id); + TPMBackend *(*create)(QemuOpts *opts); /* start up the TPM on the backend - optional */ int (*startup_tpm)(TPMBackend *t); |