summary refs log tree commit diff stats
path: root/hw/i386/xen/xen_pvdevice.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/i386/xen/xen_pvdevice.c')
-rw-r--r--hw/i386/xen/xen_pvdevice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/xen/xen_pvdevice.c b/hw/i386/xen/xen_pvdevice.c
index 9453da97bd..65868bd5e5 100644
--- a/hw/i386/xen/xen_pvdevice.c
+++ b/hw/i386/xen/xen_pvdevice.c
@@ -122,7 +122,7 @@ static const Property xen_pv_props[] = {
     DEFINE_PROP_UINT32("size", XenPVDevice, size, 0x400000),
 };
 
-static void xen_pv_class_init(ObjectClass *klass, void *data)
+static void xen_pv_class_init(ObjectClass *klass, const void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);
     PCIDeviceClass *k = PCI_DEVICE_CLASS(klass);