aboutsummaryrefslogtreecommitdiff
path: root/hw/net/xgmac.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/net/xgmac.c')
-rw-r--r--hw/net/xgmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/xgmac.c b/hw/net/xgmac.c
index e3cc4c6..9c87c4e 100644
--- a/hw/net/xgmac.c
+++ b/hw/net/xgmac.c
@@ -418,7 +418,7 @@ static const Property xgmac_properties[] = {
DEFINE_NIC_PROPERTIES(XgmacState, conf),
};
-static void xgmac_enet_class_init(ObjectClass *klass, void *data)
+static void xgmac_enet_class_init(ObjectClass *klass, const void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);