Patchwork [qom-cpu,for-1.4,01/14] target-openrisc: Don't use type_register_static()

login
register
mail settings
Submitter Andreas Färber
Date Jan. 23, 2013, 12:07 p.m.
Message ID <1358942867-8612-2-git-send-email-afaerber@suse.de>
Download mbox | patch
Permalink /patch/214923/
State New
Headers show

Comments

Andreas Färber - Jan. 23, 2013, 12:07 p.m.
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
 target-openrisc/cpu.c |    2 +-
 1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-)

Patch

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 = {