aboutsummaryrefslogtreecommitdiff
path: root/hw/milkymist-memcard.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/milkymist-memcard.c')
-rw-r--r--hw/milkymist-memcard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/milkymist-memcard.c b/hw/milkymist-memcard.c
index f80befc53a..9d15309ab7 100644
--- a/hw/milkymist-memcard.c
+++ b/hw/milkymist-memcard.c
@@ -288,7 +288,7 @@ static void milkymist_memcard_class_init(ObjectClass *klass, void *data)
dc->vmsd = &vmstate_milkymist_memcard;
}
-static TypeInfo milkymist_memcard_info = {
+static const TypeInfo milkymist_memcard_info = {
.name = "milkymist-memcard",
.parent = TYPE_SYS_BUS_DEVICE,
.instance_size = sizeof(MilkymistMemcardState),