Signed-off-by: Andreas Färber <afaer...@suse.de>
---
 target-openrisc/cpu.c |    2 +-
 1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-)

diff --git a/target-openrisc/cpu.c b/target-openrisc/cpu.c
index 56544d8..9bd4be4 100644
--- a/target-openrisc/cpu.c
+++ b/target-openrisc/cpu.c
@@ -132,7 +132,7 @@ static void cpu_register(const OpenRISCCPUInfo *info)
         .class_size = sizeof(OpenRISCCPUClass),
     };
 
-    type_register_static(&type_info);
+    type_register(&type_info);
 }
 
 static const TypeInfo openrisc_cpu_type_info = {
-- 
1.7.10.4


Reply via email to