diff options
Diffstat (limited to 'qom/container.c')
-rw-r--r-- | qom/container.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qom/container.c b/qom/container.c index 946cbff..f107208 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) |