aboutsummaryrefslogtreecommitdiff
path: root/hw/milkymist-hpdmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/milkymist-hpdmc.c')
-rw-r--r--hw/milkymist-hpdmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/milkymist-hpdmc.c b/hw/milkymist-hpdmc.c
index fd54d3129a..ea4d210685 100644
--- a/hw/milkymist-hpdmc.c
+++ b/hw/milkymist-hpdmc.c
@@ -155,7 +155,7 @@ static void milkymist_hpdmc_class_init(ObjectClass *klass, void *data)
dc->vmsd = &vmstate_milkymist_hpdmc;
}
-static TypeInfo milkymist_hpdmc_info = {
+static const TypeInfo milkymist_hpdmc_info = {
.name = "milkymist-hpdmc",
.parent = TYPE_SYS_BUS_DEVICE,
.instance_size = sizeof(MilkymistHpdmcState),