summaryrefslogtreecommitdiff
path: root/hw/lm32_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/lm32_timer.c')
-rw-r--r--hw/lm32_timer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/lm32_timer.c b/hw/lm32_timer.c
index 3cb4e0a4f3..e9450a0ce1 100644
--- a/hw/lm32_timer.c
+++ b/hw/lm32_timer.c
@@ -222,9 +222,9 @@ static TypeInfo lm32_timer_info = {
.class_init = lm32_timer_class_init,
};
-static void lm32_timer_register(void)
+static void lm32_timer_register_types(void)
{
type_register_static(&lm32_timer_info);
}
-device_init(lm32_timer_register)
+type_init(lm32_timer_register_types)