aboutsummaryrefslogtreecommitdiff
path: root/hw/pcspk.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pcspk.c')
-rw-r--r--hw/pcspk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pcspk.c b/hw/pcspk.c
index 6d55ebe82f..dfab9559ae 100644
--- a/hw/pcspk.c
+++ b/hw/pcspk.c
@@ -187,7 +187,7 @@ static void pcspk_class_initfn(ObjectClass *klass, void *data)
dc->props = pcspk_properties;
}
-static TypeInfo pcspk_info = {
+static const TypeInfo pcspk_info = {
.name = "isa-pcspk",
.parent = TYPE_ISA_DEVICE,
.instance_size = sizeof(PCSpkState),