summary refs log tree commit diff stats
path: root/hw/ppc/spapr_tpm_proxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ppc/spapr_tpm_proxy.c')
-rw-r--r--hw/ppc/spapr_tpm_proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc/spapr_tpm_proxy.c b/hw/ppc/spapr_tpm_proxy.c
index ceaa0acaa1..862eeaa50a 100644
--- a/hw/ppc/spapr_tpm_proxy.c
+++ b/hw/ppc/spapr_tpm_proxy.c
@@ -149,7 +149,7 @@ static const Property spapr_tpm_proxy_properties[] = {
     DEFINE_PROP_STRING("host-path", SpaprTpmProxy, host_path),
 };
 
-static void spapr_tpm_proxy_class_init(ObjectClass *k, void *data)
+static void spapr_tpm_proxy_class_init(ObjectClass *k, const void *data)
 {
     DeviceClass *dk = DEVICE_CLASS(k);