summaryrefslogtreecommitdiff
path: root/hw/ds1338.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ds1338.c')
-rw-r--r--hw/ds1338.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ds1338.c b/hw/ds1338.c
index 1aefa3ba04..379220638e 100644
--- a/hw/ds1338.c
+++ b/hw/ds1338.c
@@ -221,7 +221,7 @@ static void ds1338_class_init(ObjectClass *klass, void *data)
dc->vmsd = &vmstate_ds1338;
}
-static TypeInfo ds1338_info = {
+static const TypeInfo ds1338_info = {
.name = "ds1338",
.parent = TYPE_I2C_SLAVE,
.instance_size = sizeof(DS1338State),