summary refs log tree commit diff stats
path: root/hw/ssi/ibex_spi_host.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ssi/ibex_spi_host.c')
-rw-r--r--hw/ssi/ibex_spi_host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ssi/ibex_spi_host.c b/hw/ssi/ibex_spi_host.c
index 6b28cda200..f05be68748 100644
--- a/hw/ssi/ibex_spi_host.c
+++ b/hw/ssi/ibex_spi_host.c
@@ -622,7 +622,7 @@ static void ibex_spi_host_init(Object *obj)
     sysbus_init_mmio(SYS_BUS_DEVICE(obj), &s->mmio);
 }
 
-static void ibex_spi_host_class_init(ObjectClass *klass, void *data)
+static void ibex_spi_host_class_init(ObjectClass *klass, const void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);
     dc->realize = ibex_spi_host_realize;