aboutsummaryrefslogtreecommitdiff
path: root/hw/net/sungem.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/net/sungem.c')
-rw-r--r--hw/net/sungem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/sungem.c b/hw/net/sungem.c
index f31d41ac5b..89da51f7f6 100644
--- a/hw/net/sungem.c
+++ b/hw/net/sungem.c
@@ -1429,7 +1429,7 @@ static void sungem_class_init(ObjectClass *klass, void *data)
k->class_id = PCI_CLASS_NETWORK_ETHERNET;
dc->vmsd = &vmstate_sungem;
dc->reset = sungem_reset;
- dc->props = sungem_properties;
+ device_class_set_props(dc, sungem_properties);
set_bit(DEVICE_CATEGORY_NETWORK, dc->categories);
}