aboutsummaryrefslogtreecommitdiff
path: root/hw/s390x/tod.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/s390x/tod.c')
-rw-r--r--hw/s390x/tod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/s390x/tod.c b/hw/s390x/tod.c
index fd5a36bf24..c81b1c0338 100644
--- a/hw/s390x/tod.c
+++ b/hw/s390x/tod.c
@@ -123,7 +123,7 @@ static void s390_tod_class_init(ObjectClass *oc, void *data)
dc->user_creatable = false;
}
-static TypeInfo s390_tod_info = {
+static const TypeInfo s390_tod_info = {
.name = TYPE_S390_TOD,
.parent = TYPE_DEVICE,
.instance_size = sizeof(S390TODState),