aboutsummaryrefslogtreecommitdiff
path: root/hw/realview_gic.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/realview_gic.c')
-rw-r--r--hw/realview_gic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/realview_gic.c b/hw/realview_gic.c
index 4121502c7b..071ef13c9e 100644
--- a/hw/realview_gic.c
+++ b/hw/realview_gic.c
@@ -60,9 +60,9 @@ static TypeInfo realview_gic_info = {
.class_init = realview_gic_class_init,
};
-static void realview_gic_register_devices(void)
+static void realview_gic_register_types(void)
{
type_register_static(&realview_gic_info);
}
-device_init(realview_gic_register_devices)
+type_init(realview_gic_register_types)