diff options
Diffstat (limited to 'hw/syborg_serial.c')
-rw-r--r-- | hw/syborg_serial.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/syborg_serial.c b/hw/syborg_serial.c index 63f0447bcb..cac00eac09 100644 --- a/hw/syborg_serial.c +++ b/hw/syborg_serial.c @@ -315,7 +315,7 @@ static int syborg_serial_load(QEMUFile *f, void *opaque, int version_id) return 0; } -static void syborg_serial_init(SysBusDevice *dev) +static int syborg_serial_init(SysBusDevice *dev) { SyborgSerialState *s = FROM_SYSBUS(SyborgSerialState, dev); int iomemtype; @@ -337,6 +337,7 @@ static void syborg_serial_init(SysBusDevice *dev) register_savevm("syborg_serial", -1, 1, syborg_serial_save, syborg_serial_load, s); + return 0; } static SysBusDeviceInfo syborg_serial_info = { |