summary refs log tree commit diff stats
path: root/hw/timer/i8254.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/timer/i8254.c')
-rw-r--r--hw/timer/i8254.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/timer/i8254.c b/hw/timer/i8254.c
index 058fc61ce9..4b25c487f7 100644
--- a/hw/timer/i8254.c
+++ b/hw/timer/i8254.c
@@ -350,7 +350,7 @@ static void pit_realizefn(DeviceState *dev, Error **errp)
     pc->parent_realize(dev, errp);
 }
 
-static void pit_class_initfn(ObjectClass *klass, void *data)
+static void pit_class_initfn(ObjectClass *klass, const void *data)
 {
     PITClass *pc = PIT_CLASS(klass);
     PITCommonClass *k = PIT_COMMON_CLASS(klass);