aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/npcm7xx_mft.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/npcm7xx_mft.c')
-rw-r--r--hw/misc/npcm7xx_mft.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/npcm7xx_mft.c b/hw/misc/npcm7xx_mft.c
index e565cac..b35e971 100644
--- a/hw/misc/npcm7xx_mft.c
+++ b/hw/misc/npcm7xx_mft.c
@@ -515,7 +515,7 @@ static const VMStateDescription vmstate_npcm7xx_mft = {
},
};
-static void npcm7xx_mft_class_init(ObjectClass *klass, void *data)
+static void npcm7xx_mft_class_init(ObjectClass *klass, const void *data)
{
ResettableClass *rc = RESETTABLE_CLASS(klass);
DeviceClass *dc = DEVICE_CLASS(klass);