aboutsummaryrefslogtreecommitdiff
path: root/hw/grlib_gptimer.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/grlib_gptimer.c')
-rw-r--r--hw/grlib_gptimer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/grlib_gptimer.c b/hw/grlib_gptimer.c
index fb0b236746..41770a9e6c 100644
--- a/hw/grlib_gptimer.c
+++ b/hw/grlib_gptimer.c
@@ -396,9 +396,9 @@ static TypeInfo grlib_gptimer_info = {
.class_init = grlib_gptimer_class_init,
};
-static void grlib_gptimer_register(void)
+static void grlib_gptimer_register_types(void)
{
type_register_static(&grlib_gptimer_info);
}
-device_init(grlib_gptimer_register)
+type_init(grlib_gptimer_register_types)