aboutsummaryrefslogtreecommitdiff
path: root/hw/empty_slot.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/empty_slot.c')
-rw-r--r--hw/empty_slot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/empty_slot.c b/hw/empty_slot.c
index 1bc181555f..099c85e583 100644
--- a/hw/empty_slot.c
+++ b/hw/empty_slot.c
@@ -90,9 +90,9 @@ static TypeInfo empty_slot_info = {
.class_init = empty_slot_class_init,
};
-static void empty_slot_register_devices(void)
+static void empty_slot_register_types(void)
{
type_register_static(&empty_slot_info);
}
-device_init(empty_slot_register_devices);
+type_init(empty_slot_register_types)