aboutsummaryrefslogtreecommitdiff
path: root/hw/ioh3420.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ioh3420.c')
-rw-r--r--hw/ioh3420.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/ioh3420.c b/hw/ioh3420.c
index 1c60123d43..1632d31c19 100644
--- a/hw/ioh3420.c
+++ b/hw/ioh3420.c
@@ -237,12 +237,12 @@ static TypeInfo ioh3420_info = {
.class_init = ioh3420_class_init,
};
-static void ioh3420_register(void)
+static void ioh3420_register_types(void)
{
type_register_static(&ioh3420_info);
}
-device_init(ioh3420_register);
+type_init(ioh3420_register_types)
/*
* Local variables: