summary refs log tree commit diff stats
path: root/hw/net/opencores_eth.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/net/opencores_eth.c')
-rw-r--r--hw/net/opencores_eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/opencores_eth.c b/hw/net/opencores_eth.c
index 54daab7b04..7e955c0132 100644
--- a/hw/net/opencores_eth.c
+++ b/hw/net/opencores_eth.c
@@ -747,7 +747,7 @@ static const Property open_eth_properties[] = {
     DEFINE_NIC_PROPERTIES(OpenEthState, conf),
 };
 
-static void open_eth_class_init(ObjectClass *klass, void *data)
+static void open_eth_class_init(ObjectClass *klass, const void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);