aboutsummaryrefslogtreecommitdiff
path: root/hw/pl041.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pl041.c')
-rw-r--r--hw/pl041.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/pl041.c b/hw/pl041.c
index 6d99c9cbbc..b6723be0a9 100644
--- a/hw/pl041.c
+++ b/hw/pl041.c
@@ -638,9 +638,9 @@ static TypeInfo pl041_device_info = {
.class_init = pl041_device_class_init,
};
-static void pl041_register_device(void)
+static void pl041_register_types(void)
{
type_register_static(&pl041_device_info);
}
-device_init(pl041_register_device)
+type_init(pl041_register_types)