diff options
Diffstat (limited to 'hw/syborg_pointer.c')
-rw-r--r-- | hw/syborg_pointer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/syborg_pointer.c b/hw/syborg_pointer.c index 5bd44f4f2f..563d73067d 100644 --- a/hw/syborg_pointer.c +++ b/hw/syborg_pointer.c @@ -199,7 +199,7 @@ static int syborg_pointer_load(QEMUFile *f, void *opaque, int version_id) return 0; } -static void syborg_pointer_init(SysBusDevice *dev) +static int syborg_pointer_init(SysBusDevice *dev) { SyborgPointerState *s = FROM_SYSBUS(SyborgPointerState, dev); int iomemtype; @@ -220,6 +220,7 @@ static void syborg_pointer_init(SysBusDevice *dev) register_savevm("syborg_pointer", -1, 1, syborg_pointer_save, syborg_pointer_load, s); + return 0; } static SysBusDeviceInfo syborg_pointer_info = { |