summary refs log tree commit diff stats
path: root/backends/tpm/tpm_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'backends/tpm/tpm_util.c')
-rw-r--r--backends/tpm/tpm_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/tpm/tpm_util.c b/backends/tpm/tpm_util.c
index 0a428eaf75..f07a2656ce 100644
--- a/backends/tpm/tpm_util.c
+++ b/backends/tpm/tpm_util.c
@@ -76,7 +76,7 @@ static void release_tpm(Object *obj, const char *name, void *opaque)
 }
 
 const PropertyInfo qdev_prop_tpm = {
-    .name  = "str",
+    .type  = "str",
     .description = "ID of a tpm to use as a backend",
     .get   = get_tpm,
     .set   = set_tpm,