summaryrefslogtreecommitdiff
path: root/hw/pl031.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pl031.c')
-rw-r--r--hw/pl031.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/pl031.c b/hw/pl031.c
index 8416a609ef..05b5b11e1a 100644
--- a/hw/pl031.c
+++ b/hw/pl031.c
@@ -230,9 +230,9 @@ static TypeInfo pl031_info = {
.class_init = pl031_class_init,
};
-static void pl031_register_devices(void)
+static void pl031_register_types(void)
{
type_register_static(&pl031_info);
}
-device_init(pl031_register_devices)
+type_init(pl031_register_types)