aboutsummaryrefslogtreecommitdiff
path: root/backends/tpm/tpm_passthrough.c
diff options
context:
space:
mode:
Diffstat (limited to 'backends/tpm/tpm_passthrough.c')
-rw-r--r--backends/tpm/tpm_passthrough.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/tpm/tpm_passthrough.c b/backends/tpm/tpm_passthrough.c
index 09a6abf..b7c7074 100644
--- a/backends/tpm/tpm_passthrough.c
+++ b/backends/tpm/tpm_passthrough.c
@@ -364,7 +364,7 @@ static void tpm_passthrough_inst_finalize(Object *obj)
qapi_free_TPMPassthroughOptions(tpm_pt->options);
}
-static void tpm_passthrough_class_init(ObjectClass *klass, void *data)
+static void tpm_passthrough_class_init(ObjectClass *klass, const void *data)
{
TPMBackendClass *tbc = TPM_BACKEND_CLASS(klass);