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