summary refs log tree commit diff stats
path: root/hw/net/msf2-emac.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/net/msf2-emac.c')
-rw-r--r--hw/net/msf2-emac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/msf2-emac.c b/hw/net/msf2-emac.c
index 80f75f19dd..59045973ab 100644
--- a/hw/net/msf2-emac.c
+++ b/hw/net/msf2-emac.c
@@ -565,7 +565,7 @@ static const VMStateDescription vmstate_msf2_emac = {
     }
 };
 
-static void msf2_emac_class_init(ObjectClass *klass, void *data)
+static void msf2_emac_class_init(ObjectClass *klass, const void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);