summary refs log tree commit diff stats
path: root/hw/i386/sgx-epc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/i386/sgx-epc.c')
-rw-r--r--hw/i386/sgx-epc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/sgx-epc.c b/hw/i386/sgx-epc.c
index 00b220d4d6..8fb80900b7 100644
--- a/hw/i386/sgx-epc.c
+++ b/hw/i386/sgx-epc.c
@@ -147,7 +147,7 @@ static void sgx_epc_md_fill_device_info(const MemoryDeviceState *md,
     info->type = MEMORY_DEVICE_INFO_KIND_SGX_EPC;
 }
 
-static void sgx_epc_class_init(ObjectClass *oc, void *data)
+static void sgx_epc_class_init(ObjectClass *oc, const void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(oc);
     MemoryDeviceClass *mdc = MEMORY_DEVICE_CLASS(oc);