aboutsummaryrefslogtreecommitdiff
path: root/hw/timer/sifive_pwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/timer/sifive_pwm.c')
-rw-r--r--hw/timer/sifive_pwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/timer/sifive_pwm.c b/hw/timer/sifive_pwm.c
index fc796e9..e85e389 100644
--- a/hw/timer/sifive_pwm.c
+++ b/hw/timer/sifive_pwm.c
@@ -441,7 +441,7 @@ static void sifive_pwm_realize(DeviceState *dev, Error **errp)
sifive_pwm_interrupt_3, s);
}
-static void sifive_pwm_class_init(ObjectClass *klass, void *data)
+static void sifive_pwm_class_init(ObjectClass *klass, const void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);