summaryrefslogtreecommitdiffstats
path: root/hw/audio/milkymist-ac97.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/audio/milkymist-ac97.c')
-rw-r--r--hw/audio/milkymist-ac97.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/audio/milkymist-ac97.c b/hw/audio/milkymist-ac97.c
index 6d409eff1b..0fa38adbe2 100644
--- a/hw/audio/milkymist-ac97.c
+++ b/hw/audio/milkymist-ac97.c
@@ -342,7 +342,7 @@ static void milkymist_ac97_class_init(ObjectClass *klass, void *data)
dc->realize = milkymist_ac97_realize;
dc->reset = milkymist_ac97_reset;
dc->vmsd = &vmstate_milkymist_ac97;
- dc->props = milkymist_ac97_properties;
+ device_class_set_props(dc, milkymist_ac97_properties);
}
static const TypeInfo milkymist_ac97_info = {