aboutsummaryrefslogtreecommitdiff
path: root/hw/tmp105.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/tmp105.c')
-rw-r--r--hw/tmp105.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/tmp105.c b/hw/tmp105.c
index 9c67e644dd..0ade4eb6bd 100644
--- a/hw/tmp105.c
+++ b/hw/tmp105.c
@@ -239,7 +239,7 @@ static void tmp105_class_init(ObjectClass *klass, void *data)
dc->vmsd = &vmstate_tmp105;
}
-static TypeInfo tmp105_info = {
+static const TypeInfo tmp105_info = {
.name = "tmp105",
.parent = TYPE_I2C_SLAVE,
.instance_size = sizeof(TMP105State),