summary refs log tree commit diff stats
path: root/hw/net/lan9118_phy.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/net/lan9118_phy.c')
-rw-r--r--hw/net/lan9118_phy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/lan9118_phy.c b/hw/net/lan9118_phy.c
index 5c53a4a1e3..4c4e03df11 100644
--- a/hw/net/lan9118_phy.c
+++ b/hw/net/lan9118_phy.c
@@ -200,7 +200,7 @@ static const VMStateDescription vmstate_lan9118_phy = {
     }
 };
 
-static void lan9118_phy_class_init(ObjectClass *klass, void *data)
+static void lan9118_phy_class_init(ObjectClass *klass, const void *data)
 {
     ResettableClass *rc = RESETTABLE_CLASS(klass);
     DeviceClass *dc = DEVICE_CLASS(klass);