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 967caa7..8321f89 100644
--- a/hw/audio/cs4231.c
+++ b/hw/audio/cs4231.c
@@ -164,7 +164,7 @@ static void cs4231_class_init(ObjectClass *klass, void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);
- dc->reset = cs_reset;
+ device_class_set_legacy_reset(dc, cs_reset);
dc->vmsd = &vmstate_cs4231;
}