aboutsummaryrefslogtreecommitdiff
path: root/hw/lm32_pic.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/lm32_pic.c')
-rw-r--r--hw/lm32_pic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/lm32_pic.c b/hw/lm32_pic.c
index 7be6d0d68e..32f65db7f1 100644
--- a/hw/lm32_pic.c
+++ b/hw/lm32_pic.c
@@ -191,9 +191,9 @@ static TypeInfo lm32_pic_info = {
.class_init = lm32_pic_class_init,
};
-static void lm32_pic_register(void)
+static void lm32_pic_register_types(void)
{
type_register_static(&lm32_pic_info);
}
-device_init(lm32_pic_register)
+type_init(lm32_pic_register_types)