aboutsummaryrefslogtreecommitdiff
path: root/hw/audio/pl041.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/audio/pl041.c')
-rw-r--r--hw/audio/pl041.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/audio/pl041.c b/hw/audio/pl041.c
index c30417d46d..c3d3eab6ed 100644
--- a/hw/audio/pl041.c
+++ b/hw/audio/pl041.c
@@ -640,7 +640,7 @@ static void pl041_device_class_init(ObjectClass *klass, void *data)
set_bit(DEVICE_CATEGORY_SOUND, dc->categories);
dc->reset = pl041_device_reset;
dc->vmsd = &vmstate_pl041;
- dc->props = pl041_device_properties;
+ device_class_set_props(dc, pl041_device_properties);
}
static const TypeInfo pl041_device_info = {