summary refs log tree commit diff stats
path: root/hw/arm/npcm8xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/arm/npcm8xx.c')
-rw-r--r--hw/arm/npcm8xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/arm/npcm8xx.c b/hw/arm/npcm8xx.c
index f182accc47..5cc67b132f 100644
--- a/hw/arm/npcm8xx.c
+++ b/hw/arm/npcm8xx.c
@@ -779,7 +779,7 @@ static const Property npcm8xx_properties[] = {
                      MemoryRegion *),
 };
 
-static void npcm8xx_class_init(ObjectClass *oc, void *data)
+static void npcm8xx_class_init(ObjectClass *oc, const void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(oc);
     NPCM8xxClass *nc = NPCM8XX_CLASS(oc);