Revision 81a322d4 hw/arm_timer.c

b/hw/arm_timer.c
254 254
    return 0;
255 255
}
256 256

  
257
static void sp804_init(SysBusDevice *dev)
257
static int sp804_init(SysBusDevice *dev)
258 258
{
259 259
    int iomemtype;
260 260
    sp804_state *s = FROM_SYSBUS(sp804_state, dev);
......
272 272
                                       sp804_writefn, s);
273 273
    sysbus_init_mmio(dev, 0x1000, iomemtype);
274 274
    register_savevm("sp804", -1, 1, sp804_save, sp804_load, s);
275
    return 0;
275 276
}
276 277

  
277 278

  
......
323 324
   icp_pit_write
324 325
};
325 326

  
326
static void icp_pit_init(SysBusDevice *dev)
327
static int icp_pit_init(SysBusDevice *dev)
327 328
{
328 329
    int iomemtype;
329 330
    icp_pit_state *s = FROM_SYSBUS(icp_pit_state, dev);
......
343 344
    sysbus_init_mmio(dev, 0x1000, iomemtype);
344 345
    /* This device has no state to save/restore.  The component timers will
345 346
       save themselves.  */
347
    return 0;
346 348
}
347 349

  
348 350
static void arm_timer_register_devices(void)

Also available in: Unified diff