summary refs log tree commit diff stats
path: root/hw/rtc/m48t59.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/rtc/m48t59.c')
-rw-r--r--hw/rtc/m48t59.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/rtc/m48t59.c b/hw/rtc/m48t59.c
index 48846d8df4..90299ea56f 100644
--- a/hw/rtc/m48t59.c
+++ b/hw/rtc/m48t59.c
@@ -679,7 +679,7 @@ static void m48t59_register_types(void)
     for (i = 0; i < ARRAY_SIZE(m48txx_sysbus_info); i++) {
         sysbus_type_info.name = m48txx_sysbus_info[i].bus_name;
         sysbus_type_info.class_data = &m48txx_sysbus_info[i];
-        type_register(&sysbus_type_info);
+        type_register_static(&sysbus_type_info);
     }
 }