summaryrefslogtreecommitdiff
path: root/hw/lan9118.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/lan9118.c')
-rw-r--r--hw/lan9118.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/lan9118.c b/hw/lan9118.c
index 5adf91199b..969b634d47 100644
--- a/hw/lan9118.c
+++ b/hw/lan9118.c
@@ -1368,7 +1368,7 @@ static void lan9118_class_init(ObjectClass *klass, void *data)
dc->vmsd = &vmstate_lan9118;
}
-static TypeInfo lan9118_info = {
+static const TypeInfo lan9118_info = {
.name = "lan9118",
.parent = TYPE_SYS_BUS_DEVICE,
.instance_size = sizeof(lan9118_state),