aboutsummaryrefslogtreecommitdiff
path: root/hw/milkymist-sysctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/milkymist-sysctl.c')
-rw-r--r--hw/milkymist-sysctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/milkymist-sysctl.c b/hw/milkymist-sysctl.c
index 796e795f04..e69ac6f047 100644
--- a/hw/milkymist-sysctl.c
+++ b/hw/milkymist-sysctl.c
@@ -323,7 +323,7 @@ static void milkymist_sysctl_class_init(ObjectClass *klass, void *data)
dc->props = milkymist_sysctl_properties;
}
-static TypeInfo milkymist_sysctl_info = {
+static const TypeInfo milkymist_sysctl_info = {
.name = "milkymist-sysctl",
.parent = TYPE_SYS_BUS_DEVICE,
.instance_size = sizeof(MilkymistSysctlState),