aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/stm32_rcc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/stm32_rcc.c')
-rw-r--r--hw/misc/stm32_rcc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/stm32_rcc.c b/hw/misc/stm32_rcc.c
index 26672b5..94e8dae 100644
--- a/hw/misc/stm32_rcc.c
+++ b/hw/misc/stm32_rcc.c
@@ -138,7 +138,7 @@ static const VMStateDescription vmstate_stm32_rcc = {
}
};
-static void stm32_rcc_class_init(ObjectClass *klass, void *data)
+static void stm32_rcc_class_init(ObjectClass *klass, const void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);