summary refs log tree commit diff stats
path: root/hw/net/ne2000-pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/net/ne2000-pci.c')
-rw-r--r--hw/net/ne2000-pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/ne2000-pci.c b/hw/net/ne2000-pci.c
index 6840d0e720..2153973af4 100644
--- a/hw/net/ne2000-pci.c
+++ b/hw/net/ne2000-pci.c
@@ -100,7 +100,7 @@ static const Property ne2000_properties[] = {
     DEFINE_NIC_PROPERTIES(PCINE2000State, ne2000.c),
 };
 
-static void ne2000_class_init(ObjectClass *klass, void *data)
+static void ne2000_class_init(ObjectClass *klass, const void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);
     PCIDeviceClass *k = PCI_DEVICE_CLASS(klass);