aboutsummaryrefslogtreecommitdiff
path: root/hw/lm32_sys.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/lm32_sys.c')
-rw-r--r--hw/lm32_sys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/lm32_sys.c b/hw/lm32_sys.c
index ba6f4acbaa..bbe03c41d5 100644
--- a/hw/lm32_sys.c
+++ b/hw/lm32_sys.c
@@ -164,9 +164,9 @@ static TypeInfo lm32_sys_info = {
.class_init = lm32_sys_class_init,
};
-static void lm32_sys_register(void)
+static void lm32_sys_register_types(void)
{
type_register_static(&lm32_sys_info);
}
-device_init(lm32_sys_register)
+type_init(lm32_sys_register_types)