aboutsummaryrefslogtreecommitdiff
path: root/hw/ipack/ipack.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ipack/ipack.c')
-rw-r--r--hw/ipack/ipack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ipack/ipack.c b/hw/ipack/ipack.c
index 30e16696c0..49787a13bc 100644
--- a/hw/ipack/ipack.c
+++ b/hw/ipack/ipack.c
@@ -88,7 +88,7 @@ static void ipack_device_class_init(ObjectClass *klass, void *data)
k->bus_type = TYPE_IPACK_BUS;
k->realize = ipack_device_realize;
k->unrealize = ipack_device_unrealize;
- k->props = ipack_device_props;
+ device_class_set_props(k, ipack_device_props);
}
const VMStateDescription vmstate_ipack_device = {