summary refs log tree commit diff stats
path: root/hw/misc/npcm7xx_pwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/npcm7xx_pwm.c')
-rw-r--r--hw/misc/npcm7xx_pwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/npcm7xx_pwm.c b/hw/misc/npcm7xx_pwm.c
index f7f77e30a2..2de18d09b8 100644
--- a/hw/misc/npcm7xx_pwm.c
+++ b/hw/misc/npcm7xx_pwm.c
@@ -543,7 +543,7 @@ static const VMStateDescription vmstate_npcm7xx_pwm_module = {
     },
 };
 
-static void npcm7xx_pwm_class_init(ObjectClass *klass, void *data)
+static void npcm7xx_pwm_class_init(ObjectClass *klass, const void *data)
 {
     ResettableClass *rc = RESETTABLE_CLASS(klass);
     DeviceClass *dc = DEVICE_CLASS(klass);