summary refs log tree commit diff stats
path: root/hw/dma/pl080.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/dma/pl080.c')
-rw-r--r--hw/dma/pl080.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dma/pl080.c b/hw/dma/pl080.c
index 8a9b073b24..277d934322 100644
--- a/hw/dma/pl080.c
+++ b/hw/dma/pl080.c
@@ -413,7 +413,7 @@ static const Property pl080_properties[] = {
                      TYPE_MEMORY_REGION, MemoryRegion *),
 };
 
-static void pl080_class_init(ObjectClass *oc, void *data)
+static void pl080_class_init(ObjectClass *oc, const void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(oc);