diff options
Diffstat (limited to 'hw/audio/wm8750.c')
-rw-r--r-- | hw/audio/wm8750.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/audio/wm8750.c b/hw/audio/wm8750.c index 601ed04aff..92b2902a10 100644 --- a/hw/audio/wm8750.c +++ b/hw/audio/wm8750.c @@ -717,7 +717,7 @@ static void wm8750_class_init(ObjectClass *klass, void *data) sc->recv = wm8750_rx; sc->send = wm8750_tx; dc->vmsd = &vmstate_wm8750; - dc->props = wm8750_properties; + device_class_set_props(dc, wm8750_properties); } static const TypeInfo wm8750_info = { |