aboutsummaryrefslogtreecommitdiff
path: root/hw/net/sunhme.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/net/sunhme.c')
-rw-r--r--hw/net/sunhme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/sunhme.c b/hw/net/sunhme.c
index 2243b7cf7b..8863601f6c 100644
--- a/hw/net/sunhme.c
+++ b/hw/net/sunhme.c
@@ -958,7 +958,7 @@ static void sunhme_class_init(ObjectClass *klass, void *data)
k->class_id = PCI_CLASS_NETWORK_ETHERNET;
dc->vmsd = &vmstate_hme;
dc->reset = sunhme_reset;
- dc->props = sunhme_properties;
+ device_class_set_props(dc, sunhme_properties);
set_bit(DEVICE_CATEGORY_NETWORK, dc->categories);
}