aboutsummaryrefslogtreecommitdiff
path: root/hw/char/debugcon.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/char/debugcon.c')
-rw-r--r--hw/char/debugcon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/char/debugcon.c b/hw/char/debugcon.c
index 1bc3bf8..bf44aaf 100644
--- a/hw/char/debugcon.c
+++ b/hw/char/debugcon.c
@@ -120,7 +120,7 @@ static const Property debugcon_isa_properties[] = {
DEFINE_PROP_UINT32("readback", ISADebugconState, state.readback, 0xe9),
};
-static void debugcon_isa_class_initfn(ObjectClass *klass, void *data)
+static void debugcon_isa_class_initfn(ObjectClass *klass, const void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);