summary refs log tree commit diff stats
path: root/hw/ssi/xlnx-versal-ospi.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ssi/xlnx-versal-ospi.c')
-rw-r--r--hw/ssi/xlnx-versal-ospi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ssi/xlnx-versal-ospi.c b/hw/ssi/xlnx-versal-ospi.c
index 9e96c9b69a..56d51ce0e3 100644
--- a/hw/ssi/xlnx-versal-ospi.c
+++ b/hw/ssi/xlnx-versal-ospi.c
@@ -1831,7 +1831,7 @@ static const Property xlnx_versal_ospi_properties[] = {
                      ind_write_disabled, false),
 };
 
-static void xlnx_versal_ospi_class_init(ObjectClass *klass, void *data)
+static void xlnx_versal_ospi_class_init(ObjectClass *klass, const void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);