summary refs log tree commit diff stats
path: root/hw/nvram/bcm2835_otp.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/nvram/bcm2835_otp.c')
-rw-r--r--hw/nvram/bcm2835_otp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/nvram/bcm2835_otp.c b/hw/nvram/bcm2835_otp.c
index c4aed28472..6816b53417 100644
--- a/hw/nvram/bcm2835_otp.c
+++ b/hw/nvram/bcm2835_otp.c
@@ -164,7 +164,7 @@ static const VMStateDescription vmstate_bcm2835_otp = {
     }
 };
 
-static void bcm2835_otp_class_init(ObjectClass *klass, void *data)
+static void bcm2835_otp_class_init(ObjectClass *klass, const void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);