summaryrefslogtreecommitdiff
path: root/hw/debugcon.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/debugcon.c')
-rw-r--r--hw/debugcon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/debugcon.c b/hw/debugcon.c
index 3903b2605d..14ab326be3 100644
--- a/hw/debugcon.c
+++ b/hw/debugcon.c
@@ -109,9 +109,9 @@ static TypeInfo debugcon_isa_info = {
.class_init = debugcon_isa_class_initfn,
};
-static void debugcon_register_devices(void)
+static void debugcon_register_types(void)
{
type_register_static(&debugcon_isa_info);
}
-device_init(debugcon_register_devices)
+type_init(debugcon_register_types)