diff options
Diffstat (limited to 'hw/audio/wm8750.c')
-rw-r--r-- | hw/audio/wm8750.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/audio/wm8750.c b/hw/audio/wm8750.c index 9f6df5d59c..a8725abf6a 100644 --- a/hw/audio/wm8750.c +++ b/hw/audio/wm8750.c @@ -702,6 +702,11 @@ void wm8750_set_bclk_in(void *opaque, int new_hz) wm8750_clk_update(s, 1); } +static Property wm8750_properties[] = { + DEFINE_AUDIO_PROPERTIES(WM8750State, card), + DEFINE_PROP_END_OF_LIST(), +}; + static void wm8750_class_init(ObjectClass *klass, void *data) { DeviceClass *dc = DEVICE_CLASS(klass); @@ -712,6 +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; } static const TypeInfo wm8750_info = { |