aboutsummaryrefslogtreecommitdiff
path: root/hw/pc-testdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pc-testdev.c')
-rw-r--r--hw/pc-testdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pc-testdev.c b/hw/pc-testdev.c
index 192848998c..ec0bc4bb95 100644
--- a/hw/pc-testdev.c
+++ b/hw/pc-testdev.c
@@ -172,7 +172,7 @@ static void testdev_class_init(ObjectClass *klass, void *data)
k->init = init_test_device;
}
-static TypeInfo testdev_info = {
+static const TypeInfo testdev_info = {
.name = TYPE_TESTDEV,
.parent = TYPE_ISA_DEVICE,
.instance_size = sizeof(struct PCTestdev),