aboutsummaryrefslogtreecommitdiff
path: root/hw/grlib_irqmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/grlib_irqmp.c')
-rw-r--r--hw/grlib_irqmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/grlib_irqmp.c b/hw/grlib_irqmp.c
index 1e5ad826f5..0f6e65cf20 100644
--- a/hw/grlib_irqmp.c
+++ b/hw/grlib_irqmp.c
@@ -377,9 +377,9 @@ static TypeInfo grlib_irqmp_info = {
.class_init = grlib_irqmp_class_init,
};
-static void grlib_irqmp_register(void)
+static void grlib_irqmp_register_types(void)
{
type_register_static(&grlib_irqmp_info);
}
-device_init(grlib_irqmp_register)
+type_init(grlib_irqmp_register_types)