summary refs log tree commit diff stats
path: root/hw/vfio/ap.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/vfio/ap.c')
-rw-r--r--hw/vfio/ap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/vfio/ap.c b/hw/vfio/ap.c
index d6575d7c44..a8f0e6ae14 100644
--- a/hw/vfio/ap.c
+++ b/hw/vfio/ap.c
@@ -241,7 +241,7 @@ static void vfio_ap_set_fd(Object *obj, const char *str, Error **errp)
 }
 #endif
 
-static void vfio_ap_class_init(ObjectClass *klass, void *data)
+static void vfio_ap_class_init(ObjectClass *klass, const void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);