aboutsummaryrefslogtreecommitdiff
path: root/hw/eccmemctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/eccmemctl.c')
-rw-r--r--hw/eccmemctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/eccmemctl.c b/hw/eccmemctl.c
index 000bd08dee..dbac2c2bbc 100644
--- a/hw/eccmemctl.c
+++ b/hw/eccmemctl.c
@@ -324,7 +324,7 @@ static void ecc_class_init(ObjectClass *klass, void *data)
dc->props = ecc_properties;
}
-static TypeInfo ecc_info = {
+static const TypeInfo ecc_info = {
.name = "eccmemctl",
.parent = TYPE_SYS_BUS_DEVICE,
.instance_size = sizeof(ECCState),