summary refs log tree commit diff stats
path: root/hw/misc/nrf51_rng.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/nrf51_rng.c')
-rw-r--r--hw/misc/nrf51_rng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/nrf51_rng.c b/hw/misc/nrf51_rng.c
index 1e67acdf23..8cd7ffe3f5 100644
--- a/hw/misc/nrf51_rng.c
+++ b/hw/misc/nrf51_rng.c
@@ -240,7 +240,7 @@ static const VMStateDescription vmstate_rng = {
     }
 };
 
-static void nrf51_rng_class_init(ObjectClass *klass, void *data)
+static void nrf51_rng_class_init(ObjectClass *klass, const void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);