aboutsummaryrefslogtreecommitdiff
path: root/hw/ssi/stm32f2xx_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ssi/stm32f2xx_spi.c')
-rw-r--r--hw/ssi/stm32f2xx_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ssi/stm32f2xx_spi.c b/hw/ssi/stm32f2xx_spi.c
index ea9b74a..871d573 100644
--- a/hw/ssi/stm32f2xx_spi.c
+++ b/hw/ssi/stm32f2xx_spi.c
@@ -202,7 +202,7 @@ static void stm32f2xx_spi_init(Object *obj)
s->ssi = ssi_create_bus(dev, "ssi");
}
-static void stm32f2xx_spi_class_init(ObjectClass *klass, void *data)
+static void stm32f2xx_spi_class_init(ObjectClass *klass, const void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);