aboutsummaryrefslogtreecommitdiff
path: root/hw/audio/sb16.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/audio/sb16.c')
-rw-r--r--hw/audio/sb16.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/audio/sb16.c b/hw/audio/sb16.c
index a354f94acb..df6f755a37 100644
--- a/hw/audio/sb16.c
+++ b/hw/audio/sb16.c
@@ -1439,7 +1439,7 @@ static void sb16_class_initfn (ObjectClass *klass, void *data)
set_bit(DEVICE_CATEGORY_SOUND, dc->categories);
dc->desc = "Creative Sound Blaster 16";
dc->vmsd = &vmstate_sb16;
- dc->props = sb16_properties;
+ device_class_set_props(dc, sb16_properties);
}
static const TypeInfo sb16_info = {