diff options
Diffstat (limited to 'tpm.c')
-rw-r--r-- | tpm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -33,7 +33,7 @@ void tpm_register_model(enum TpmModel model) const TPMDriverOps *tpm_get_backend_driver(const char *type) { - int i = qapi_enum_parse(TpmType_lookup, type, -1, NULL); + int i = qapi_enum_parse(&TpmType_lookup, type, -1, NULL); return i >= 0 ? be_drivers[i] : NULL; } |