aboutsummaryrefslogtreecommitdiff
path: root/hw/ioapic_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ioapic_common.c')
-rw-r--r--hw/ioapic_common.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/hw/ioapic_common.c b/hw/ioapic_common.c
index f932700d12..653eef2ce1 100644
--- a/hw/ioapic_common.c
+++ b/hw/ioapic_common.c
@@ -112,10 +112,9 @@ static TypeInfo ioapic_common_type = {
.abstract = true,
};
-static void register_devices(void)
+static void register_types(void)
{
type_register_static(&ioapic_common_type);
}
-device_init(register_devices);
-
+type_init(register_types)