aboutsummaryrefslogtreecommitdiff
path: root/hw/milkymist-pfpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/milkymist-pfpu.c')
-rw-r--r--hw/milkymist-pfpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/milkymist-pfpu.c b/hw/milkymist-pfpu.c
index 1b73a4686b..0f9ff4a13d 100644
--- a/hw/milkymist-pfpu.c
+++ b/hw/milkymist-pfpu.c
@@ -536,9 +536,9 @@ static TypeInfo milkymist_pfpu_info = {
.class_init = milkymist_pfpu_class_init,
};
-static void milkymist_pfpu_register(void)
+static void milkymist_pfpu_register_types(void)
{
type_register_static(&milkymist_pfpu_info);
}
-device_init(milkymist_pfpu_register)
+type_init(milkymist_pfpu_register_types)