summaryrefslogtreecommitdiffstats
path: root/hw/dma/xlnx-zdma.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/dma/xlnx-zdma.c')
-rw-r--r--hw/dma/xlnx-zdma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dma/xlnx-zdma.c b/hw/dma/xlnx-zdma.c
index 75b660988f..8fb83f5b07 100644
--- a/hw/dma/xlnx-zdma.c
+++ b/hw/dma/xlnx-zdma.c
@@ -820,7 +820,7 @@ static void zdma_class_init(ObjectClass *klass, void *data)
dc->reset = zdma_reset;
dc->realize = zdma_realize;
- dc->props = zdma_props;
+ device_class_set_props(dc, zdma_props);
dc->vmsd = &vmstate_zdma;
}