aboutsummaryrefslogtreecommitdiff
path: root/qom/container.c
diff options
context:
space:
mode:
Diffstat (limited to 'qom/container.c')
-rw-r--r--qom/container.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/qom/container.c b/qom/container.c
index 946cbff90f..f107208867 100644
--- a/qom/container.c
+++ b/qom/container.c
@@ -19,9 +19,9 @@ static TypeInfo container_info = {
.parent = TYPE_OBJECT,
};
-static void container_init(void)
+static void container_register_types(void)
{
type_register_static(&container_info);
}
-device_init(container_init);
+type_init(container_register_types)