X-Git-Url: https://repo.jachan.dev/qemu.git/blobdiff_plain/a6308bc2224db238e72c570482717b68246a7ce0..8c43a6f05d5ef3c9484bd2be9d4e818d58e62016:/hw/tmp105.c 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),