diff options
Diffstat (limited to 'hw/slavio_timer.c')
-rw-r--r-- | hw/slavio_timer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/slavio_timer.c b/hw/slavio_timer.c index 08302e04af..f3af4e4e2d 100644 --- a/hw/slavio_timer.c +++ b/hw/slavio_timer.c @@ -412,7 +412,7 @@ static void slavio_timer_reset(void *opaque) s->cputimer_mode = 0; } -static void slavio_timer_init1(SysBusDevice *dev) +static int slavio_timer_init1(SysBusDevice *dev) { int io; SLAVIO_TIMERState *s = FROM_SYSBUS(SLAVIO_TIMERState, dev); @@ -444,6 +444,7 @@ static void slavio_timer_init1(SysBusDevice *dev) slavio_timer_load, s); qemu_register_reset(slavio_timer_reset, s); slavio_timer_reset(s); + return 0; } static SysBusDeviceInfo slavio_timer_info = { |