aboutsummaryrefslogtreecommitdiff
path: root/hw/audio/cs4231.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/audio/cs4231.c')
-rw-r--r--hw/audio/cs4231.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/audio/cs4231.c b/hw/audio/cs4231.c
index b5d3e895ce..11a6328fc2 100644
--- a/hw/audio/cs4231.c
+++ b/hw/audio/cs4231.c
@@ -168,7 +168,7 @@ static void cs4231_class_init(ObjectClass *klass, void *data)
dc->reset = cs_reset;
dc->vmsd = &vmstate_cs4231;
- dc->props = cs4231_properties;
+ device_class_set_props(dc, cs4231_properties);
}
static const TypeInfo cs4231_info = {