aboutsummaryrefslogtreecommitdiff
path: root/hw/arm_l2x0.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/arm_l2x0.c')
-rw-r--r--hw/arm_l2x0.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/arm_l2x0.c b/hw/arm_l2x0.c
index ba26abc6f4..09f290c85f 100644
--- a/hw/arm_l2x0.c
+++ b/hw/arm_l2x0.c
@@ -184,9 +184,9 @@ static TypeInfo l2x0_info = {
.class_init = l2x0_class_init,
};
-static void l2x0_register_device(void)
+static void l2x0_register_types(void)
{
type_register_static(&l2x0_info);
}
-device_init(l2x0_register_device)
+type_init(l2x0_register_types)