summary refs log tree commit diff stats
path: root/hw/i386/kvm/xen_primary_console.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/i386/kvm/xen_primary_console.c')
-rw-r--r--hw/i386/kvm/xen_primary_console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/kvm/xen_primary_console.c b/hw/i386/kvm/xen_primary_console.c
index 8ad2363d18..6e9d6417c3 100644
--- a/hw/i386/kvm/xen_primary_console.c
+++ b/hw/i386/kvm/xen_primary_console.c
@@ -67,7 +67,7 @@ static void xen_primary_console_realize(DeviceState *dev, Error **errp)
     xen_primary_console_singleton = s;
 }
 
-static void xen_primary_console_class_init(ObjectClass *klass, void *data)
+static void xen_primary_console_class_init(ObjectClass *klass, const void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);