aboutsummaryrefslogtreecommitdiff
path: root/hw/dma/pxa2xx_dma.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/dma/pxa2xx_dma.c')
-rw-r--r--hw/dma/pxa2xx_dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dma/pxa2xx_dma.c b/hw/dma/pxa2xx_dma.c
index 18e7a0b694..88ed4b6ff1 100644
--- a/hw/dma/pxa2xx_dma.c
+++ b/hw/dma/pxa2xx_dma.c
@@ -566,7 +566,7 @@ static void pxa2xx_dma_class_init(ObjectClass *klass, void *data)
dc->desc = "PXA2xx DMA controller";
dc->vmsd = &vmstate_pxa2xx_dma;
- dc->props = pxa2xx_dma_properties;
+ device_class_set_props(dc, pxa2xx_dma_properties);
dc->realize = pxa2xx_dma_realize;
}