diff options
Diffstat (limited to 'hw/block/m25p80.c')
-rw-r--r-- | hw/block/m25p80.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c index 190573c..a2438b9 100644 --- a/hw/block/m25p80.c +++ b/hw/block/m25p80.c @@ -1251,9 +1251,11 @@ static void m25p80_reset(DeviceState *d) reset_memory(s); } -static void m25p80_pre_save(void *opaque) +static int m25p80_pre_save(void *opaque) { flash_sync_dirty((Flash *)opaque, -1); + + return 0; } static Property m25p80_properties[] = { |