aboutsummaryrefslogtreecommitdiff
path: root/hw/audio/ac97.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/audio/ac97.c')
-rw-r--r--hw/audio/ac97.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/audio/ac97.c b/hw/audio/ac97.c
index 78cda88..1ec87fe 100644
--- a/hw/audio/ac97.c
+++ b/hw/audio/ac97.c
@@ -1420,7 +1420,7 @@ static void ac97_class_init (ObjectClass *klass, void *data)
set_bit(DEVICE_CATEGORY_SOUND, dc->categories);
dc->desc = "Intel 82801AA AC97 Audio";
dc->vmsd = &vmstate_ac97;
- dc->props = ac97_properties;
+ device_class_set_props(dc, ac97_properties);
dc->reset = ac97_on_reset;
}