aboutsummaryrefslogtreecommitdiff
path: root/hw/ppc/prep_systemio.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ppc/prep_systemio.c')
-rw-r--r--hw/ppc/prep_systemio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc/prep_systemio.c b/hw/ppc/prep_systemio.c
index 86e83e278f..bbc51b6e9a 100644
--- a/hw/ppc/prep_systemio.c
+++ b/hw/ppc/prep_systemio.c
@@ -289,7 +289,7 @@ static void prep_systemio_class_initfn(ObjectClass *klass, void *data)
dc->realize = prep_systemio_realize;
dc->vmsd = &vmstate_prep_systemio;
- dc->props = prep_systemio_properties;
+ device_class_set_props(dc, prep_systemio_properties);
}
static TypeInfo prep_systemio800_info = {