aboutsummaryrefslogtreecommitdiff
path: root/hw/lm32_juart.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/lm32_juart.c')
-rw-r--r--hw/lm32_juart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/lm32_juart.c b/hw/lm32_juart.c
index 38dd28230d..f07ed3977f 100644
--- a/hw/lm32_juart.c
+++ b/hw/lm32_juart.c
@@ -151,9 +151,9 @@ static TypeInfo lm32_juart_info = {
.class_init = lm32_juart_class_init,
};
-static void lm32_juart_register(void)
+static void lm32_juart_register_types(void)
{
type_register_static(&lm32_juart_info);
}
-device_init(lm32_juart_register)
+type_init(lm32_juart_register_types)