diff options
Diffstat (limited to 'hw/audio/wm8750.c')
-rw-r--r-- | hw/audio/wm8750.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/audio/wm8750.c b/hw/audio/wm8750.c index d2bf2e1..8bb44a7 100644 --- a/hw/audio/wm8750.c +++ b/hw/audio/wm8750.c @@ -567,11 +567,13 @@ static int wm8750_rx(I2CSlave *i2c) return 0x00; } -static void wm8750_pre_save(void *opaque) +static int wm8750_pre_save(void *opaque) { WM8750State *s = opaque; s->rate_vmstate = s->rate - wm_rate_table; + + return 0; } static int wm8750_post_load(void *opaque, int version_id) |