summary refs log tree commit diff stats
path: root/hw/intc/riscv_imsic.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/intc/riscv_imsic.c')
-rw-r--r--hw/intc/riscv_imsic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/intc/riscv_imsic.c b/hw/intc/riscv_imsic.c
index 852f413e5a..2169988167 100644
--- a/hw/intc/riscv_imsic.c
+++ b/hw/intc/riscv_imsic.c
@@ -416,7 +416,7 @@ static const VMStateDescription vmstate_riscv_imsic = {
         }
 };
 
-static void riscv_imsic_class_init(ObjectClass *klass, void *data)
+static void riscv_imsic_class_init(ObjectClass *klass, const void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);