aboutsummaryrefslogtreecommitdiff
path: root/hw/dma/xlnx-zynq-devcfg.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/dma/xlnx-zynq-devcfg.c')
-rw-r--r--hw/dma/xlnx-zynq-devcfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dma/xlnx-zynq-devcfg.c b/hw/dma/xlnx-zynq-devcfg.c
index 0fd0d23..2684571 100644
--- a/hw/dma/xlnx-zynq-devcfg.c
+++ b/hw/dma/xlnx-zynq-devcfg.c
@@ -380,7 +380,7 @@ static void xlnx_zynq_devcfg_init(Object *obj)
sysbus_init_mmio(sbd, &s->iomem);
}
-static void xlnx_zynq_devcfg_class_init(ObjectClass *klass, void *data)
+static void xlnx_zynq_devcfg_class_init(ObjectClass *klass, const void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);