summaryrefslogtreecommitdiff
path: root/hw/xgmac.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xgmac.c')
-rw-r--r--hw/xgmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xgmac.c b/hw/xgmac.c
index 9639b6141b..00dae7789c 100644
--- a/hw/xgmac.c
+++ b/hw/xgmac.c
@@ -418,7 +418,7 @@ static void xgmac_enet_class_init(ObjectClass *klass, void *data)
dc->props = xgmac_properties;
}
-static TypeInfo xgmac_enet_info = {
+static const TypeInfo xgmac_enet_info = {
.name = "xgmac",
.parent = TYPE_SYS_BUS_DEVICE,
.instance_size = sizeof(struct XgmacState),