aboutsummaryrefslogtreecommitdiff
path: root/hw/net/npcm_gmac.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/net/npcm_gmac.c')
-rw-r--r--hw/net/npcm_gmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/npcm_gmac.c b/hw/net/npcm_gmac.c
index e1fb383..a434112 100644
--- a/hw/net/npcm_gmac.c
+++ b/hw/net/npcm_gmac.c
@@ -916,7 +916,7 @@ static const Property npcm_gmac_properties[] = {
DEFINE_NIC_PROPERTIES(NPCMGMACState, conf),
};
-static void npcm_gmac_class_init(ObjectClass *klass, void *data)
+static void npcm_gmac_class_init(ObjectClass *klass, const void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);