aboutsummaryrefslogtreecommitdiff
path: root/hw/ppc/pnv_homer.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ppc/pnv_homer.c')
-rw-r--r--hw/ppc/pnv_homer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc/pnv_homer.c b/hw/ppc/pnv_homer.c
index a08b7914f7..93ae42f7e4 100644
--- a/hw/ppc/pnv_homer.c
+++ b/hw/ppc/pnv_homer.c
@@ -359,7 +359,7 @@ static void pnv_homer_class_init(ObjectClass *klass, void *data)
dc->realize = pnv_homer_realize;
dc->desc = "PowerNV HOMER Memory";
- dc->props = pnv_homer_properties;
+ device_class_set_props(dc, pnv_homer_properties);
}
static const TypeInfo pnv_homer_type_info = {