summary refs log tree commit diff stats
path: root/hw/timer/renesas_tmr.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/timer/renesas_tmr.c')
-rw-r--r--hw/timer/renesas_tmr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/timer/renesas_tmr.c b/hw/timer/renesas_tmr.c
index 884349c2cc..95707f2b8c 100644
--- a/hw/timer/renesas_tmr.c
+++ b/hw/timer/renesas_tmr.c
@@ -467,7 +467,7 @@ static const Property rtmr_properties[] = {
     DEFINE_PROP_UINT64("input-freq", RTMRState, input_freq, 0),
 };
 
-static void rtmr_class_init(ObjectClass *klass, void *data)
+static void rtmr_class_init(ObjectClass *klass, const void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);