summary refs log tree commit diff stats
path: root/hw/nvram/nrf51_nvm.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/nvram/nrf51_nvm.c')
-rw-r--r--hw/nvram/nrf51_nvm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/nvram/nrf51_nvm.c b/hw/nvram/nrf51_nvm.c
index 2ed4078858..23cc9fe9b3 100644
--- a/hw/nvram/nrf51_nvm.c
+++ b/hw/nvram/nrf51_nvm.c
@@ -370,7 +370,7 @@ static const VMStateDescription vmstate_nvm = {
     }
 };
 
-static void nrf51_nvm_class_init(ObjectClass *klass, void *data)
+static void nrf51_nvm_class_init(ObjectClass *klass, const void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);