aboutsummaryrefslogtreecommitdiff
path: root/hw/input/virtio-input-host.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/input/virtio-input-host.c')
-rw-r--r--hw/input/virtio-input-host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/input/virtio-input-host.c b/hw/input/virtio-input-host.c
index b21a790..bbfee9d 100644
--- a/hw/input/virtio-input-host.c
+++ b/hw/input/virtio-input-host.c
@@ -224,7 +224,7 @@ static const Property virtio_input_host_properties[] = {
DEFINE_PROP_STRING("evdev", VirtIOInputHost, evdev),
};
-static void virtio_input_host_class_init(ObjectClass *klass, void *data)
+static void virtio_input_host_class_init(ObjectClass *klass, const void *data)
{
VirtIOInputClass *vic = VIRTIO_INPUT_CLASS(klass);
DeviceClass *dc = DEVICE_CLASS(klass);