Revision 81a322d4 hw/pl080.c

b/hw/pl080.c
319 319
   pl080_write
320 320
};
321 321

  
322
static void pl08x_init(SysBusDevice *dev, int nchannels)
322
static int pl08x_init(SysBusDevice *dev, int nchannels)
323 323
{
324 324
    int iomemtype;
325 325
    pl080_state *s = FROM_SYSBUS(pl080_state, dev);
......
330 330
    sysbus_init_irq(dev, &s->irq);
331 331
    s->nchannels = nchannels;
332 332
    /* ??? Save/restore.  */
333
    return 0;
333 334
}
334 335

  
335
static void pl080_init(SysBusDevice *dev)
336
static int pl080_init(SysBusDevice *dev)
336 337
{
337
    pl08x_init(dev, 8);
338
    return pl08x_init(dev, 8);
338 339
}
339 340

  
340
static void pl081_init(SysBusDevice *dev)
341
static int pl081_init(SysBusDevice *dev)
341 342
{
342
    pl08x_init(dev, 2);
343
    return pl08x_init(dev, 2);
343 344
}
344 345

  
345 346
/* The PL080 and PL081 are the same except for the number of channels

Also available in: Unified diff