aboutsummaryrefslogtreecommitdiff
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 96b2940d75..d664829d35 100644
--- a/hw/i386/sgx-epc.c
+++ b/hw/i386/sgx-epc.c
@@ -167,7 +167,7 @@ static void sgx_epc_class_init(ObjectClass *oc, void *data)
mdc->fill_device_info = sgx_epc_md_fill_device_info;
}
-static TypeInfo sgx_epc_info = {
+static const TypeInfo sgx_epc_info = {
.name = TYPE_SGX_EPC,
.parent = TYPE_DEVICE,
.instance_size = sizeof(SGXEPCDevice),