aboutsummaryrefslogtreecommitdiff
path: root/hw/usb/hcd-xhci-nec.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/usb/hcd-xhci-nec.c')
-rw-r--r--hw/usb/hcd-xhci-nec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb/hcd-xhci-nec.c b/hw/usb/hcd-xhci-nec.c
index 1df518b..9e0fea2 100644
--- a/hw/usb/hcd-xhci-nec.c
+++ b/hw/usb/hcd-xhci-nec.c
@@ -50,7 +50,7 @@ static void nec_xhci_instance_init(Object *obj)
pci->xhci.numslots = nec->slots;
}
-static void nec_xhci_class_init(ObjectClass *klass, void *data)
+static void nec_xhci_class_init(ObjectClass *klass, const void *data)
{
PCIDeviceClass *k = PCI_DEVICE_CLASS(klass);
DeviceClass *dc = DEVICE_CLASS(klass);