aboutsummaryrefslogtreecommitdiff
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 ca1caec113..991615d77a 100644
--- a/hw/ppc/spapr_tpm_proxy.c
+++ b/hw/ppc/spapr_tpm_proxy.c
@@ -159,7 +159,7 @@ static void spapr_tpm_proxy_class_init(ObjectClass *k, void *data)
dk->realize = spapr_tpm_proxy_realize;
dk->unrealize = spapr_tpm_proxy_unrealize;
dk->user_creatable = true;
- dk->props = spapr_tpm_proxy_properties;
+ device_class_set_props(dk, spapr_tpm_proxy_properties);
}
static const TypeInfo spapr_tpm_proxy_info = {