aboutsummaryrefslogtreecommitdiff
path: root/hw/pl080.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pl080.c')
-rw-r--r--hw/pl080.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/pl080.c b/hw/pl080.c
index 4405d1823b..b3cf651ab7 100644
--- a/hw/pl080.c
+++ b/hw/pl080.c
@@ -409,10 +409,10 @@ static TypeInfo pl081_info = {
/* The PL080 and PL081 are the same except for the number of channels
they implement (8 and 2 respectively). */
-static void pl080_register_devices(void)
+static void pl080_register_types(void)
{
type_register_static(&pl080_info);
type_register_static(&pl081_info);
}
-device_init(pl080_register_devices)
+type_init(pl080_register_types)