summaryrefslogtreecommitdiff
path: root/hw/macio.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/macio.c')
-rw-r--r--hw/macio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/macio.c b/hw/macio.c
index 362afdc7ec..675a71c051 100644
--- a/hw/macio.c
+++ b/hw/macio.c
@@ -90,7 +90,7 @@ static void macio_class_init(ObjectClass *klass, void *data)
k->class_id = PCI_CLASS_OTHERS << 8;
}
-static TypeInfo macio_info = {
+static const TypeInfo macio_info = {
.name = "macio",
.parent = TYPE_PCI_DEVICE,
.instance_size = sizeof(MacIOState),