Patchwork [qom-cpu,for-1.4,02/14] target-unicore32: 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-3-git-send-email-afaerber@suse.de>
Download mbox | patch
Permalink /patch/214912/
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-unicore32/cpu.c |    2 +-
 1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-)

Patch

diff --git a/target-unicore32/cpu.c b/target-unicore32/cpu.c
index 884c101..a38fc4d 100644
--- a/target-unicore32/cpu.c
+++ b/target-unicore32/cpu.c
@@ -88,7 +88,7 @@  static void uc32_register_cpu_type(const UniCore32CPUInfo *info)
         .instance_init = info->instance_init,
     };
 
-    type_register_static(&type_info);
+    type_register(&type_info);
 }
 
 static const TypeInfo uc32_cpu_type_info = {