aboutsummaryrefslogtreecommitdiffstats
path: root/hw/pl181.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pl181.c')
-rw-r--r--hw/pl181.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/pl181.c b/hw/pl181.c
index ae636e220..7d91fbba1 100644
--- a/hw/pl181.c
+++ b/hw/pl181.c
@@ -505,9 +505,9 @@ static TypeInfo pl181_info = {
.class_init = pl181_class_init,
};
-static void pl181_register_devices(void)
+static void pl181_register_types(void)
{
type_register_static(&pl181_info);
}
-device_init(pl181_register_devices)
+type_init(pl181_register_types)