aboutsummaryrefslogtreecommitdiff
path: root/hw/timer/slavio_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/timer/slavio_timer.c')
-rw-r--r--hw/timer/slavio_timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/timer/slavio_timer.c b/hw/timer/slavio_timer.c
index 65b24e4..3e071fb 100644
--- a/hw/timer/slavio_timer.c
+++ b/hw/timer/slavio_timer.c
@@ -424,7 +424,7 @@ static const Property slavio_timer_properties[] = {
DEFINE_PROP_UINT32("num_cpus", SLAVIO_TIMERState, num_cpus, 0),
};
-static void slavio_timer_class_init(ObjectClass *klass, void *data)
+static void slavio_timer_class_init(ObjectClass *klass, const void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);