aboutsummaryrefslogtreecommitdiff
path: root/hw/timer/renesas_cmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/timer/renesas_cmt.c')
-rw-r--r--hw/timer/renesas_cmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/timer/renesas_cmt.c b/hw/timer/renesas_cmt.c
index 93e7f58..cdff7f4 100644
--- a/hw/timer/renesas_cmt.c
+++ b/hw/timer/renesas_cmt.c
@@ -257,7 +257,7 @@ static const Property rcmt_properties[] = {
DEFINE_PROP_UINT64("input-freq", RCMTState, input_freq, 0),
};
-static void rcmt_class_init(ObjectClass *klass, void *data)
+static void rcmt_class_init(ObjectClass *klass, const void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);