summary refs log tree commit diff stats
path: root/hw/vfio/calxeda-xgmac.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/vfio/calxeda-xgmac.c')
-rw-r--r--hw/vfio/calxeda-xgmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/vfio/calxeda-xgmac.c b/hw/vfio/calxeda-xgmac.c
index a5ef262def..03f2ff5763 100644
--- a/hw/vfio/calxeda-xgmac.c
+++ b/hw/vfio/calxeda-xgmac.c
@@ -34,7 +34,7 @@ static const VMStateDescription vfio_platform_calxeda_xgmac_vmstate = {
     .unmigratable = 1,
 };
 
-static void vfio_calxeda_xgmac_class_init(ObjectClass *klass, void *data)
+static void vfio_calxeda_xgmac_class_init(ObjectClass *klass, const void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);
     VFIOCalxedaXgmacDeviceClass *vcxc =