aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/pc-testdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/pc-testdev.c')
-rw-r--r--hw/misc/pc-testdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/pc-testdev.c b/hw/misc/pc-testdev.c
index e389651..67c486f 100644
--- a/hw/misc/pc-testdev.c
+++ b/hw/misc/pc-testdev.c
@@ -193,7 +193,7 @@ static void testdev_realizefn(DeviceState *d, Error **errp)
memory_region_add_subregion(mem, 0xff000000, &dev->iomem);
}
-static void testdev_class_init(ObjectClass *klass, void *data)
+static void testdev_class_init(ObjectClass *klass, const void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);