summary refs log tree commit diff stats
path: root/hw/net/lance.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/net/lance.c')
-rw-r--r--hw/net/lance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/lance.c b/hw/net/lance.c
index 4d96299041..688724db0b 100644
--- a/hw/net/lance.c
+++ b/hw/net/lance.c
@@ -153,7 +153,7 @@ static void lance_class_init(ObjectClass *klass, void *data)
     dc->fw_name = "ethernet";
     dc->reset = lance_reset;
     dc->vmsd = &vmstate_lance;
-    dc->props = lance_properties;
+    device_class_set_props(dc, lance_properties);
 }
 
 static const TypeInfo lance_info = {