summary refs log tree commit diff stats
path: root/hw/misc/allwinner-h3-dramc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/allwinner-h3-dramc.c')
-rw-r--r--hw/misc/allwinner-h3-dramc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/allwinner-h3-dramc.c b/hw/misc/allwinner-h3-dramc.c
index 74ff71b753..8834524c30 100644
--- a/hw/misc/allwinner-h3-dramc.c
+++ b/hw/misc/allwinner-h3-dramc.c
@@ -331,7 +331,7 @@ static const VMStateDescription allwinner_h3_dramc_vmstate = {
     }
 };
 
-static void allwinner_h3_dramc_class_init(ObjectClass *klass, void *data)
+static void allwinner_h3_dramc_class_init(ObjectClass *klass, const void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);