summary refs log tree commit diff stats
path: root/hw/timer/stellaris-gptm.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/timer/stellaris-gptm.c')
-rw-r--r--hw/timer/stellaris-gptm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/timer/stellaris-gptm.c b/hw/timer/stellaris-gptm.c
index f28958cefc..d97b2f8309 100644
--- a/hw/timer/stellaris-gptm.c
+++ b/hw/timer/stellaris-gptm.c
@@ -308,7 +308,7 @@ static void stellaris_gptm_realize(DeviceState *dev, Error **errp)
     s->timer[1] = timer_new_ns(QEMU_CLOCK_VIRTUAL, gptm_tick, &s->opaque[1]);
 }
 
-static void stellaris_gptm_class_init(ObjectClass *klass, void *data)
+static void stellaris_gptm_class_init(ObjectClass *klass, const void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);