summary refs log tree commit diff stats
path: root/hw/net/igbvf.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/net/igbvf.c')
-rw-r--r--hw/net/igbvf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/igbvf.c b/hw/net/igbvf.c
index 21a97d4d61..91e7ccf931 100644
--- a/hw/net/igbvf.c
+++ b/hw/net/igbvf.c
@@ -299,7 +299,7 @@ static void igbvf_pci_uninit(PCIDevice *dev)
     msix_uninit(dev, &s->msix, &s->msix);
 }
 
-static void igbvf_class_init(ObjectClass *class, void *data)
+static void igbvf_class_init(ObjectClass *class, const void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(class);
     PCIDeviceClass *c = PCI_DEVICE_CLASS(class);