summaryrefslogtreecommitdiffstats
path: root/hw/pl181.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pl181.c')
-rw-r--r--hw/pl181.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/pl181.c b/hw/pl181.c
index 955e5ec..7282053 100644
--- a/hw/pl181.c
+++ b/hw/pl181.c
@@ -445,7 +445,7 @@ static void pl181_reset(void *opaque)
s->mask[1] = 0;
}
-static void pl181_init(SysBusDevice *dev)
+static int pl181_init(SysBusDevice *dev)
{
int iomemtype;
pl181_state *s = FROM_SYSBUS(pl181_state, dev);
@@ -461,6 +461,7 @@ static void pl181_init(SysBusDevice *dev)
qemu_register_reset(pl181_reset, s);
pl181_reset(s);
/* ??? Save/restore. */
+ return 0;
}
static void pl181_register_devices(void)
OpenPOWER on IntegriCloud