summaryrefslogtreecommitdiff
path: root/hw/piix4.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/piix4.c')
-rw-r--r--hw/piix4.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/piix4.c b/hw/piix4.c
index 4e7a2370cd..ce4eb0d1ae 100644
--- a/hw/piix4.c
+++ b/hw/piix4.c
@@ -124,8 +124,9 @@ static TypeInfo piix4_info = {
.class_init = piix4_class_init,
};
-static void piix4_register(void)
+static void piix4_register_types(void)
{
type_register_static(&piix4_info);
}
-device_init(piix4_register);
+
+type_init(piix4_register_types)